Class Angle
Namespace: Aspose.Html.Drawing
Assembly: Aspose.HTML.dll (25.2.0)
The angle data type
[ComVisible(true)]
public sealed class Angle : Dimension, IEquatable<unit>
Inheritance
object ← Unit ← Numeric ← Dimension ← Angle
Implements
Inherited Members
Dimension.ToString(), Numeric.GetValue(), Numeric.CompareTo(Numeric), Numeric.Equals(Unit), Numeric.GetHashCode(), Numeric.ToString(), Numeric.GetValue(UnitType), Unit.Equals(Unit), Unit.Equals(object), Unit.GetHashCode(), Unit.ToString(), Unit.FromCentimeters(double), Unit.FromMillimeters(double), Unit.FromQuarterMillimeters(double), Unit.FromInches(double), Unit.FromPicas(double), Unit.FromPoints(double), Unit.FromPixels(double), Unit.FromDegrees(double), Unit.FromGradians(double), Unit.FromRadians(double), Unit.FromTurns(double), Unit.FromSeconds(double), Unit.FromMilliseconds(double), Unit.FromHertz(double), Unit.FromKiloHertz(double), Unit.FromDotsPerInch(double), Unit.FromDotsPerCentimeters(double), Unit.FromDotsPerPixel(double), Unit.UnitType, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Methods
OnConvert(double, UnitType, UnitType)
Called when unit is converted to the specified unit type.
protected override double OnConvert(double value, UnitType fromType, UnitType toType)
Parameters
value
double
The value.
fromType
UnitType
From unit type.
toType
UnitType
To unit type.
Returns
Operators
operator +(Angle, Angle)
Implements the operator +.
public static Angle operator +(Angle a, Angle b)
Parameters
a
Angle
Parameter a.
b
Angle
Parameter b.
Returns
The result of the operator.
Exceptions
Arguments are null
Arguments have different types or Arguments have different resolution or
operator ==(Angle, Angle)
Implements the operator ==.
public static bool operator ==(Angle a, Angle b)
Parameters
a
Angle
The parameter a.
b
Angle
The parameter b.
Returns
The result of the operator.
operator >(Angle, Angle)
Implements the operator >.
public static bool operator >(Angle a, Angle b)
Parameters
a
Angle
The parameter a.
b
Angle
The parameter b.
Returns
The result of the operator.
Exceptions
Arguments have different types
An argument is null
operator >=(Angle, Angle)
Implements the operator >=.
public static bool operator >=(Angle a, Angle b)
Parameters
a
Angle
The parameter a.
b
Angle
The parameter b.
Returns
The result of the operator.
Exceptions
Arguments have different types
An argument is null
operator !=(Angle, Angle)
Implements the operator !=.
public static bool operator !=(Angle a, Angle b)
Parameters
a
Angle
The parameter a.
b
Angle
The parameter b.
Returns
The result of the operator.
operator <(Angle, Angle)
Implements the operator <.
public static bool operator <(Angle a, Angle b)
Parameters
a
Angle
The parameter a.
b
Angle
The parameter b.
Returns
The result of the operator.
Exceptions
Arguments have different types
An argument is null
operator <=(Angle, Angle)
Implements the operator <=.
public static bool operator <=(Angle a, Angle b)
Parameters
a
Angle
The parameter a.
b
Angle
The parameter b.
Returns
The result of the operator.
Exceptions
Arguments have different types
An argument is null
operator -(Angle, Angle)
Implements the operator -.
public static Angle operator -(Angle a, Angle b)
Parameters
a
Angle
The parameter a.
b
Angle
The parameter b.
Returns
The result of the operator.
Exceptions
Arguments are null
Arguments have different types or Arguments have different resolutions or </unit>