Hierarchy

Implements

Index

Constructors

constructor

  • Parameters

    • Default value color: Color = Color.silver
    • Default value drawHatch: boolean = true
    • Default value blend: number = 0.2

    Returns StiGlassBrush

Accessors

blend

  • get blend(): number
  • set blend(value: number): void
  • Gets or sets blend factor.

    Returns number

  • Gets or sets blend factor.

    Parameters

    • value: number

    Returns void

color

  • get color(): Color
  • set color(value: Color): void
  • Gets or sets the color of this StiGlassBrush object.

    Returns Color

  • Gets or sets the color of this StiGlassBrush object.

    Parameters

    Returns void

drawHatch

  • get drawHatch(): boolean
  • set drawHatch(value: boolean): void
  • Gets or sets value which indicates draw hatch at background or not.

    Returns boolean

  • Gets or sets value which indicates draw hatch at background or not.

    Parameters

    • value: boolean

    Returns void

Methods

as

  • Type parameters

    • T

    Parameters

    Returns T

clone

equals

  • equals(obj: any): boolean

getBottomColor

  • getBottomColor(): Color

getBottomColorLight

  • getBottomColorLight(): Color

getBottomRectangle

getHashCode

  • getHashCode(): number
  • Returns number

getTopColor

getTopColorLight

  • getTopColorLight(): Color

getTopRectangle

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