Hierarchy

Implements

Index

Constructors

constructor

  • Parameters

    • Default value startColor: Color = Color.black
    • Default value endColor: Color = Color.white
    • Default value angle: number = 0

    Returns StiGradientBrush

Accessors

angle

  • get angle(): number
  • set angle(value: number): void
  • Gets or sets the angle, measured in degrees clockwise from the x-axis, of the gradient's orientation line.

    Returns number

  • Gets or sets the angle, measured in degrees clockwise from the x-axis, of the gradient's orientation line.

    Parameters

    • value: number

    Returns void

endColor

  • get endColor(): Color
  • set endColor(value: Color): void
  • Gets or sets the ending color for the gradient.

    Returns Color

  • Gets or sets the ending color for the gradient.

    Parameters

    Returns void

startColor

  • get startColor(): Color
  • set startColor(value: Color): void
  • Gets or sets the starting color for the gradient.

    Returns Color

  • Gets or sets the starting color for the gradient.

    Parameters

    Returns void

Methods

as

  • Type parameters

    • T

    Parameters

    Returns T

clone

equals

  • equals(obj: any): boolean

getHashCode

  • getHashCode(): number
  • Returns number

implements

  • implements(): any[]

is

  • Type parameters

    • T

    Parameters

    Returns this

is2

  • is2<T>(type: object | Interface<T>): boolean
  • Type parameters

    • T

    Parameters

    Returns boolean

memberwiseClone

Static convertToBrush

  • convertToBrush(text: string): StiBrush

Static dark

Static getBrush

Static isEmpty

  • Returns true if this brush is empty - brush is null or StiEmptyBrush.

    Parameters

    Returns boolean

Static isTransparent

  • isTransparent(brush: StiBrush): boolean
  • Returns true if this brush is transparent - brush is null, empty or solid and color is transparent.

    Parameters

    Returns boolean

Static light

Static loadFromXml

Static toColor

Generated using TypeDoc