VDocs.NET
HomeAPI Reference
Back to DOM

DOM.MeasurementUnits.Rotation

Namespace: DOM.MeasurementUnits

Represents a rotation value in degrees and normalizes assignments to the 0..360 range.

Theclass stores an angle in degrees. When a value is assigned to, it is normalized so the stored value is always within [0, 360). This is useful for layout and transform calculations that expect wrapped angles.

4 members

Properties

_value

Backing field for.

Value

Gets or sets the rotation in degrees. Assigned values are normalized into the range [0, 360).

Methods

op_Implicit

op_Implicit(System.Double)~DOM.MeasurementUnits.Rotation

Implicitly converts a(degrees) to a. The supplied value will be normalized as if assigned to.

Parameters

value
Rotation angle in degrees.

ToString

string ToString

Returns the rotation value as a string using the default numeric formatting.

Returns

string

The stored rotation in degrees as a.