Drawing3d documented Class Library

ActiveCtrl Properties

The properties of the ActiveCtrl class are listed below. For a complete list of ActiveCtrl class members, see the ActiveCtrl 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.
ClickedPosCount An ActiveCtrl stores the posiions, where a mouseclick is done. This property gets the count (max 20) of such stored positions.
Color (inherited from DrawCtrl) Color in which the ActiveCtrl will be drawed.
Count (inherited from MNComponent) Returns the count of children
CurrentHit (inherited from DrawCtrl) 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 (inherited from DrawCtrl) 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.
EventServer Get the EventServer, which fires the mouse- and keyevents.
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
Listening By setting Listening to false, you can turn off all mouse- and keyevents.
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.
Parent (inherited from DrawCtrl)
PenStyle (inherited from DrawCtrl)Gets or sets the style of then pen, which is used in painting.
PenWidth (inherited from DrawCtrl) Gets or sets the width of then pen, which is used in painting.
Posxy Gets the mouse position in coordinates relatively to the xy-plane of the Base
Posxyz Gets the mouse position in coordinates relatively to the Base in the xy-coordinates plane
PreProcess If true, the events of the ActiveCtrl are called from the EventServer before the Events of a ActiveCtrl with PreProcess=false.
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

ActiveCtrl Class | Drawing3d Namespace