Class Angle

Class Angle

名称: Aspose.Html.Drawing 编辑: Aspose.HTML.dll (25.4.0)

角度数据类型

[ComVisible(true)]
public sealed class Angle : Dimension, IEquatable<unit>

Inheritance

object Unit Numeric Dimension Angle

Implements

IEquatable

继承人

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(双,单位类型,单位类型)

被称为当单位转换为指定的单位类型时。

protected override double OnConvert(double value, UnitType fromType, UnitType toType)

Parameters

value double

它的价值。

fromType UnitType

单位类型。

toType UnitType

单位类型。

Returns

double

Operators

运营商 +(角,角)

执行操作员 +。

public static Angle operator +(Angle a, Angle b)

Parameters

a Angle

参数A。

b Angle

参数B。

Returns

Angle

运营商的结果。

Exceptions

ArgumentNullException

论点是零

ArgumentException

论点有不同的类型或论点有不同的决议或

主持人 =(角,角)

执行操作员 ==。

public static bool operator ==(Angle a, Angle b)

Parameters

a Angle

参数A。

b Angle

参数B。

Returns

bool

运营商的结果。

运营商 >(角,角)

执行运营商>。

public static bool operator &gt;(Angle a, Angle b)

Parameters

a Angle

参数A。

b Angle

参数B。

Returns

bool

运营商的结果。

Exceptions

ArgumentException

论点有不同的类型

ArgumentNullException

一个论点是零

运营商 >=(角,角)

执行操作员 >=。

public static bool operator &gt;=(Angle a, Angle b)

Parameters

a Angle

参数A。

b Angle

参数B。

Returns

bool

运营商的结果。

Exceptions

ArgumentException

论点有不同的类型

ArgumentNullException

一个论点是零

运营商 !=(角,角)

执行运营商!

public static bool operator !=(Angle a, Angle b)

Parameters

a Angle

参数A。

b Angle

参数B。

Returns

bool

运营商的结果。

主持人 <(角,角)

执行运营商<。

public static bool operator &lt;(Angle a, Angle b)

Parameters

a Angle

参数A。

b Angle

参数B。

Returns

bool

运营商的结果。

Exceptions

ArgumentException

论点有不同的类型

ArgumentNullException

一个论点是零

主持人 <=(角,角)

执行操作员 <=。

public static bool operator &lt;=(Angle a, Angle b)

Parameters

a Angle

参数A。

b Angle

参数B。

Returns

bool

运营商的结果。

Exceptions

ArgumentException

论点有不同的类型

ArgumentNullException

一个论点是零

运营商 -(角,角)

执行运营商 -。

public static Angle operator -(Angle a, Angle b)

Parameters

a Angle

参数A。

b Angle

参数B。

Returns

Angle

运营商的结果。

Exceptions

ArgumentNullException

论点是零

ArgumentException

论点有不同的类型或论点有不同的决议或

 中文