Drawing3d documented Class Library

DrawCtrl Properties

The properties of the DrawCtrl class are listed below. For a complete list of DrawCtrl class members, see the DrawCtrl Members topic.

Public Instance Properties

Base (inherited from Entity) Base is an other aspect of Transformation. She is given from Transformation by the conversion with toBase For some it is easier to work with a base as with a transformation. It is also easier to imagine it as a base. All coordinates, used in the drawmethod of the entity are taken relative to this base.
Color Color in which the ActiveCtrl will be drawed.
Count (inherited from MNComponent) Returns the count of children
CurrentHit Gets the CurrentHit from the HitItemlist. It is null, if the Hititemlist is empty or the first entry doesn`t belong to the DrawCtrl.
Device The ActiveCtrl belongs to that device +in case, that one ancestor is the field Work. If you set this property, the ActiveCtrl will be added to the children of Work.
Global (inherited from Entity) Get a transformation to global coordinates. The transformation of all ancestors of an entity will be multiplyed and returned.
Item (inherited from MNComponent) The default indexer retrieves and sets MNComponents
Name (inherited from MNComponent) Name of the component.
PaintChildren (inherited from Entity) If PaintChildren is true, all children will be drawn. The default value is true.
PenStyleGets or sets the style of then pen, which is used in painting.
PenWidth Gets or sets the width of then pen, which is used in painting.
Tag (inherited from MNComponent) A free programmable property, which is not stored in a file.
Transformation (inherited from Entity) Every Entity has a transformation which is called in the Paint-method. This transformation is also valid for a child and a child's child and so on.
Visible (inherited from Entity) If Visible = true the the entity will be drawn. Default is true

See Also

DrawCtrl Class | Drawing3d Namespace