AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.8.2" />

.NET API 1,168,384 bytes

 Angle

Represents an angle value.
public enum Unit

An enumeration of angle representations.

public static readonly Angle Half

The 180° angle.

public static readonly Angle HalfQuarter

The 45° angle.

public static readonly Angle Quarter

The 90° angle.

public static readonly Angle TripleHalfQuarter

The 135° angle.

public static readonly Angle Zero

The zero angle.

public Unit Type { get; }

Gets the type of the length.

public string UnitString { get; }

Gets the representation of the unit as a string.

public float Value { get; }

Gets the value of angle in radians.

public Angle(float value, Unit unit)

Creates a new angle value.

public static float op_Explicit(Angle angle)

Converts the angle to a number representing radians.

public int CompareTo(Angle other)

Compares the current angle against the given one.

public float Cos()

Computes the cosine of the given angle.

public bool Equals(Angle other)

Checks for equality with the other angle.

public float Sin()

Computes the sine of the given angle.

public float Tan()

Computes the tangent of the given angle.

public string ToString(string format, IFormatProvider formatProvider)

Returns a formatted string representing the angle.