The Interactor type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Interactor |
Creates a new interactor for the argument object and includes the
argument sub-interactors in it.
|
Methods
| Name | Description | |
|---|---|---|
| CreateOrientationTransform |
Create a transformation that applies the given orientation to the interactor.
| |
| Invalidate |
Invoke this method to mark the apearance of this interactor invalid, so that it gets repainted.
| |
| IsOver |
Specifies whether a certain coordinate is considered to be part
of the interactor. This can be used for irregularly shaped
interactors, or interactors with "holes". By default, this
method returns true, which means that all coordinates within
the interactor Rectangle are included.
| |
| OnAttached |
Invoked when the interactor gets attached to its parent.
| |
| OnDetached |
Invoked when the interactor gets detached from its parent.
|
Properties
| Name | Description | |
|---|---|---|
| Childs |
The child interactors of this interactor. This property may be null.
| |
| Height |
The height of the interactor in terms of its own coordinate system, i.e. before
applying any transformation. This is the height of the interactor without
taking into account additional layers.
| |
| IsInteractive |
Controls whether an interactor can be interacted with.
| |
| Layers |
The layers of this interactor.
| |
| LayoutManager |
The layout property controls the placement of sub-interactors relative to this
one. This property may be null.
| |
| Object |
The controlled object.
| |
| Opacity |
A value between 0 and 1 that specifies the opacity of the interactor. 1 means
fully opaque, 0 means fully transparent (i.e. invisible). The default is 1.
| |
| Parent |
The interactor that this interactor is a child of.
| |
| Rectangle |
The rectangle that this interactor occupies, including the space taken by
its layers.
| |
| ToolTip |
The tooltip for this interactor. Override this to return the proper information for
this interactor. If null, no tooltip will be shown.
| |
| Transform |
Transformation that is applied to the interactor before drawing, relative
to the origin of its parent, i.e.:
| |
| ViewerTransform |
Transforms coordinates in the local coordinate system to the coordinate system of the
viewer, i.e.:
| |
| VisibleRectangle |
A rectangle that defines a the visible part of the interactor, in terms of its own
coordinate system.
| |
| Width |
The width of the interactor in terms of its own coordinate system, i.e. before
applying any transformation. This is the width of the interactor without
taking into account additional layers.
|