Overlay Class |
Namespace: AGI.Foundation.Graphics
The Overlay type exposes the following members.
Name | Description | |
---|---|---|
BorderColor |
Gets or sets the overlay's border color. By default, the border color is White. However, also
by default, the overlay has a BorderSize of 0.0 so the border is not displayed.
| |
BorderSize |
Gets or sets the size of the overlay's border. By default, this is 0.0 so the border is not displayed.
| |
BorderTranslucency |
Gets or sets the translucency of the overlay border. Translucency is a value between 0.0 and 1.0, where
0.0 is completely opaque and 1.0 is completely transparent.
| |
Bounds |
Gets the bounds of the overlay relative to its parent.
| |
ClipToParent |
Gets or sets a value indicating whether or not the overlay will be clipped by the Bounds of its parent. If
this property is , part of this overlay may be visible outside of its parent's bounds.
| |
Color |
Gets or sets the overlay's color. By default, the overlay is White.
| |
ControlBounds |
Gets the bounds of the overlay in coordinates relative to the overall Insight3D
control.
| |
ControlPosition |
Gets the position of the overlay in coordinates relative to the overall
Insight3D control.
| |
ControlSize |
Gets the size of the overlay in coordinates relative to the overall Insight3D
control.
| |
Display |
Gets or sets if this overlay and the collection of overlays that are contained within this overlay should be
rendered.
| |
DisplayCondition | ||
FlipX |
Gets or sets whether the overlay will be flipped along its X axis.
| |
FlipY |
Gets or sets whether the overlay will be flipped along its Y axis.
| |
Height |
Gets or sets the height of the overlay. The unit in which the height
is defined is specified by the HeightUnit property.
| |
HeightUnit |
Gets or sets the unit of the Height property.
| |
MaximumSize | ||
MinimumSize | ||
Origin |
Gets or sets the origin from which the overlay's position is defined. By default, the value of this
property is ScreenOverlayOrigin.BottomLeft.
See ScreenOverlayOrigin for a list of the possible
origins and a description of how the origin affects the measurement of the overlay's position and size properties.
| |
Overlays |
Gets the collection of overlays that are contained within this overlay.
| |
Padding |
Gets or sets the padding surrounding the Overlays that are contained within this overlay.
| |
Parent |
Gets the overlay's parent. This may be another overlay if this overlay was added to that overlay's
Overlays collection. Or, it may be the ScreenOverlayManager if this
overlay was added to the SceneManager'sScreenOverlays collection.
| |
PickingEnabled |
Gets or sets a value indicating whether or not picking on the overlay is enabled. If picking is disabled, this overlay
will never show up in the result of
Scene.PickScreenOverlay,
even if it occupies the specified pick position.
| |
PinningOrigin |
Gets or sets the origin of the PinningPosition property, relative to the overlay. By default, the value of this property
is ScreenOverlayPinningOrigin.Automatic, which
indicates that the origin of the PinningPosition property is the same as the Origin property of
the screen overlay. See ScreenOverlayPinningOrigin for a list of the possible
pinning origins and a description of how the pinning origin affects the measurement of the overlay's position property.
| |
PinningPosition |
Gets or sets the pinning position of the overlay, relative to the overlay, which determines the point on the overlay that corresponds to
the Position property.
| |
Position |
Gets or sets the position of the overlay relative to its parent.
| |
RotationAngle |
Gets or sets the counter-clockwise rotation of the overlay, in radians. The overlay is rotated around the point
specified by the RotationPoint property.
| |
RotationPoint |
Gets or sets the point that the overlay is rotated around when the RotationAngle property has a
value other than 0.0.
| |
Scale |
Gets or sets the fractional value used to scale the overlay's Size property. A value greater than 1.0 will
make the overlay larger while a value less than 1.0 will make it smaller.
| |
Size |
Gets or sets the size of the overlay.
| |
Tag |
Gets or sets custom data associated with this screen overlay.
| |
TranslationX |
Gets or sets the value with which the overlay will be translated from the X value of the
Position property.
| |
TranslationY |
Gets or sets the value with which the overlay will be translated from the Y value of the
Position property.
| |
Translucency |
Gets or sets the overlay's translucency. Translucency is a value between 0.0 and 1.0, where 0.0 is
completely opaque and 1.0 is completely transparent.
| |
Width |
Gets or sets the width of the overlay. The unit in which the width
is defined is specified by the WidthUnit property.
| |
WidthUnit |
Gets or sets the unit of the Width property.
| |
X | ||
XUnit |
Gets or sets the unit of the X property.
| |
Y | ||
YUnit |
Gets or sets the unit of the Y property.
|
Name | Description | |
---|---|---|
BringToFront |
Brings the overlay to the front of the z-order, so it is on top of all other overlays with the same
Parent | |
ControlToOverlay |
Transforms a given position, specified relative to the overall Insight3D
control, into coordinates relative to this overlay.
| |
Dispose | ||
Dispose(Boolean) | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OverlayToControl |
Transforms a given position, specified relative to the overlay, into coordinates relative to the overall
Insight3D control.
| |
SendToBack |
Sends the overlay to the back of the z-order, so it is underneath all other overlays with the same
Parent | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |