Click or drag to resize

ScreenOverlayRotationPoint Structure

The origin of rotation of a ScreenOverlay.

Namespace:  AGI.Foundation.Graphics.Advanced
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public struct ScreenOverlayRotationPoint

The ScreenOverlayRotationPoint type exposes the following members.

Constructors
  NameDescription
Public methodScreenOverlayRotationPoint(ScreenOverlayOrigin)
Initializes a new instance with the rotation point defined by the given origin within the rotated overlay.
Public methodScreenOverlayRotationPoint(ScreenOverlayPoint)
Initializes a new instance with a rotation point specified relative to the overlay's Origin.
Public methodScreenOverlayRotationPoint(Double, Double)
Initializes a new instance with a rotation point specified relative to the overlay's Origin.
Public methodScreenOverlayRotationPoint(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.
Public methodScreenOverlayRotationPoint(ScreenOverlayPoint, ScreenOverlayOrigin)
Initializes a new instance with a rotation point specified relative to the overlay's Origin.
Public methodScreenOverlayRotationPoint(ScreenOverlayPoint, Boolean)
Initializes a new instance with a rotation point specified relative to the overlay's or the overlay's parent's Origin.
Public methodScreenOverlayRotationPoint(Double, Double, Boolean)
Initializes a new instance with a rotation point specified relative to the overlay's or the overlay's parent's Origin.
Public methodScreenOverlayRotationPoint(ScreenOverlayPoint, ScreenOverlayOrigin, Boolean)
Initializes a new instance with a rotation point specified relative to the overlay's or the overlay's parent's Origin.
Top
Properties
  NameDescription
Public propertyOrigin
Gets the origin of rotation. When the UseOriginAsPoint property is , the overlay is rotated around this origin. When UseOriginAsPoint property is , the overlay is rotated around Point, which is defined relative to this origin.
Public propertyPoint
Gets the point that the overlay is rotated around, defined relative to Origin. When UseOriginAsPoint is , this property is ignored and the overlay is rotated around the Origin itself.
Public propertyRelativeToParent
Gets a value indicating whether the rotation point is relative to the overlay's parent, or to the overlay itself.
Public propertyUseOriginAsPoint
Gets a value indicating whether the Origin property will be used as the rotation point. If , the Point property is used.
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
See Also