ScreenOverlayRotationPoint Constructor (ScreenOverlayPoint, ScreenOverlayOrigin, Boolean) |
Initializes a new instance with a rotation point specified relative to the overlay's
or the overlay's parent's
Origin.
Namespace:
AGI.Foundation.Graphics.Advanced
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public ScreenOverlayRotationPoint(
ScreenOverlayPoint rotationPoint,
ScreenOverlayOrigin rotationOrigin,
bool relativeToParent
)
Public Sub New (
rotationPoint As ScreenOverlayPoint,
rotationOrigin As ScreenOverlayOrigin,
relativeToParent As Boolean
)
public:
ScreenOverlayRotationPoint(
ScreenOverlayPoint rotationPoint,
ScreenOverlayOrigin rotationOrigin,
bool relativeToParent
)
new :
rotationPoint : ScreenOverlayPoint *
rotationOrigin : ScreenOverlayOrigin *
relativeToParent : bool -> ScreenOverlayRotationPoint
Parameters
- rotationPoint
- Type: AGI.Foundation.Graphics.AdvancedScreenOverlayPoint
The rotation point. - rotationOrigin
- Type: AGI.Foundation.Graphics.AdvancedScreenOverlayOrigin
The rotation point's anchor. - relativeToParent
- Type: SystemBoolean
When , the rotationOrigin is within rotated overlay's parent;
Otherwise, the rotationOrigin is within the rotated overlay itself.
See Also