Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • Parameters

    • value: number

    Returns TurnAngle

Properties

Readonly value

value: number

Accessors

units

  • Returns AngleUnits

Methods

combine

  • Parameters

    Returns Angle

compareTo

  • compareTo(that: unknown): number
  • Parameters

    • that: unknown

    Returns number

debug

  • debug(output: Output<unknown>): void
  • Parameters

    Returns void

deg

  • Returns DegAngle

degValue

  • degValue(): number
  • Returns number

divide

  • Parameters

    Returns Angle

equals

  • equals(that: unknown): boolean
  • Parameters

    • that: unknown

    Returns boolean

equivalentTo

  • equivalentTo(that: unknown, epsilon?: number): boolean
  • Parameters

    • that: unknown
    • Optional epsilon: number

    Returns boolean

grad

  • Returns GradAngle

gradValue

  • gradValue(): number
  • Returns number

hashCode

  • hashCode(): number
  • Returns number

interpolateTo

isDefined

  • isDefined(): boolean
  • Returns boolean

minus

  • Parameters

    Returns Angle

negative

  • Parameters

    Returns Angle

norm

  • Parameters

    Returns Angle

plus

  • Parameters

    Returns Angle

rad

  • Returns RadAngle

radValue

  • radValue(): number
  • Returns number

times

  • Parameters

    Returns Angle

to

  • Parameters

    Returns Angle

toCssValue

  • toCssValue(): null | CSSUnitValue
  • Returns null | CSSUnitValue

toString

  • toString(): string
  • Returns string

toValue

  • Returns Value

  • Parameters

    Returns number

turn

  • Returns TurnAngle

turnValue

  • turnValue(): number
  • Returns number

Static create

  • Parameters

    Returns Angle

Static deg

  • Parameters

    • value: number

    Returns DegAngle

Static form

  • Returns Form<Angle, AnyAngle>

Static fromAny

  • Parameters

    Returns Angle

Static fromCssValue

  • fromCssValue(value: CSSStyleValue): Angle
  • Parameters

    • value: CSSStyleValue

    Returns Angle

Static fromValue

  • Parameters

    Returns null | Angle

Static grad

  • Parameters

    • value: number

    Returns GradAngle

Static isAny

  • isAny(value: unknown): value is AnyAngle
  • Parameters

    • value: unknown

    Returns value is AnyAngle

Static parse

  • Parameters

    • string: string
    • Optional defaultUnits: AngleUnits

    Returns Angle

Static rad

  • Parameters

    • value: number

    Returns RadAngle

Static turn

  • Parameters

    • value: number

    Returns TurnAngle

Static zero

  • Returns TurnAngle

Generated using TypeDoc