Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly Abstract units

units: AngleUnits

Readonly Abstract value

value: number

Methods

combine

  • Parameters

    Returns Angle

Abstract compareTo

  • compareTo(that: unknown): number
  • Parameters

    • that: unknown

    Returns number

Abstract debug

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

    Returns void

deg

  • Returns DegAngle

Abstract degValue

  • degValue(): number
  • Returns number

divide

  • Parameters

    Returns Angle

Abstract equals

  • equals(that: unknown): boolean
  • Parameters

    • that: unknown

    Returns boolean

Abstract equivalentTo

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

    • that: unknown
    • Optional epsilon: number

    Returns boolean

grad

  • Returns GradAngle

Abstract gradValue

  • gradValue(): number
  • Returns number

Abstract hashCode

  • hashCode(): number
  • Returns number

interpolateTo

  • Parameters

    Returns Interpolator<Angle>

  • Parameters

    • that: unknown

    Returns null | Interpolator<Angle>

isDefined

  • isDefined(): boolean
  • Returns boolean

minus

  • Parameters

    Returns Angle

negative

  • Parameters

    Returns Angle

norm

  • Parameters

    Returns Angle

plus

  • Parameters

    Returns Angle

rad

  • Returns RadAngle

Abstract radValue

  • radValue(): number
  • Returns number

times

  • Parameters

    Returns Angle

to

  • Parameters

    Returns Angle

Abstract toCssValue

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

Abstract toString

  • toString(): string
  • Returns string

toValue

  • Returns Value

  • Parameters

    Returns number

turn

  • Returns TurnAngle

Abstract 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

  • Parameters

    Returns Angle

Generated using TypeDoc