ScreenOverlayRotationPoint Constructor (ScreenOverlayOrigin, Boolean) |
Initializes a new instance with the rotation point defined by the given origin. The origin can be within
the rotated overlay itself or within its parent.
Namespace:
AGI.Foundation.Graphics.Advanced
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public ScreenOverlayRotationPoint(
ScreenOverlayOrigin rotationOrigin,
bool relativeToParent
)
Public Sub New (
rotationOrigin As ScreenOverlayOrigin,
relativeToParent As Boolean
)
public:
ScreenOverlayRotationPoint(
ScreenOverlayOrigin rotationOrigin,
bool relativeToParent
)
new :
rotationOrigin : ScreenOverlayOrigin *
relativeToParent : bool -> ScreenOverlayRotationPoint
Parameters
- rotationOrigin
- Type: AGI.Foundation.Graphics.AdvancedScreenOverlayOrigin
The origin around which the overlay is rotated. - relativeToParent
- Type: SystemBoolean
When , the rotationOrigin is within rotated overlay's parent;
Otherwise, the rotationOrigin is within the rotated overlay itself.
See Also