Options
Menu

Class GradientFillStyle

Hierarchy

Implements

Index

Constructors

constructor

  • new GradientFillStyle(type: string, colors: number[], alphas: number[], ratios: number[], matrix: Matrix, spreadMethod: string, interpolationMethod: string, focalPointRatio: number): GradientFillStyle
  • Parameters

    • type: string
    • colors: number[]
    • alphas: number[]
    • ratios: number[]
    • matrix: Matrix
    • spreadMethod: string
    • interpolationMethod: string
    • focalPointRatio: number

    Returns GradientFillStyle

Properties

alpha

alpha: number

alphas

alphas: number[]

color

color: number

The Vector of drawing commands as integers representing the path.

colors

colors: number[]

The Vector of drawing commands as integers representing the path.

colors_b

colors_b: number[]

colors_g

colors_g: number[]

colors_r

colors_r: number[]

focalPointRatio

focalPointRatio: number

interpolationMethod

interpolationMethod: string

matrix

matrix: Matrix

ratio_max

ratio_max: number

ratio_min

ratio_min: number

ratios

ratios: number[]

spreadMethod

spreadMethod: string

type

type: string

uvRectangle

uvRectangle: Rectangle

Static data_type

data_type: string

Accessors

data_type

  • get (): string

Methods

getColorAtPosition

  • getColorAtPosition(value: number): number[]
  • Parameters

    • value: number

    Returns number[]

getUVMatrix

  • getUVMatrix(): Matrix
  • Returns Matrix

toString

  • toString(): string
  • Returns string

Generated using TypeDoc