Click or drag to resize

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
)

Parameters

rotationOrigin
Type: AGI.Foundation.Graphics.Advanced.ScreenOverlayOrigin
The origin around which the overlay is rotated.
relativeToParent
Type: System.Boolean
When true, the rotationOrigin is within rotated overlay's parent; Otherwise, the rotationOrigin is within the rotated overlay itself.
See Also