Click or drag to resize

ScreenOverlayRotationPoint Constructor (Double, Double, 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: 19.2.399.0 (19.2.399.0)
Syntax
public ScreenOverlayRotationPoint(
	double x,
	double y,
	bool relativeToParent
)

Parameters

x
Type: SystemDouble
The X position of the rotation point, in pixels.
y
Type: SystemDouble
The Y position of the rotation point, in pixels.
relativeToParent
Type: SystemBoolean
When , the specified x and y position is within the rotated overlay's parent; Otherwise, the position is within the rotated overlay itself.
See Also