Class StiLinearGradientBrush

Hierarchy

Implements

Index

Constructors

constructor

Properties

angle

angle: number

color

color: Color

colors

colors: Color[]

positions

positions: number[]

Methods

as

  • Type parameters

    • T

    Parameters

    Returns T

clone

equals

  • equals(obj: any): boolean

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