Hierarchy

  • ElementBase
    • Stop

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • Optionaloffset: number

      The offset percentage of the stop represented as a zero-to-one value. Default value flip flops from zero-to-one as new stops are created.

    • Optionalcolor: string

      The color of the stop. Default value flip flops from white to black as new stops are created.

    • Optionalopacity: number

      The opacity value. Default value is 1, cannot be lower than 0.

    Returns Stop

Properties

change$: Observable<Stop> = ...
parent: unknown
zzz: ZZZ
Index: number = 0

The current index being referenced for calculating a stop's default offset value.

Accessors

  • get id(): string
  • Returns string

  • set id(id): void
  • Parameters

    • id: string

    Returns void

Methods

  • Returns void