Gradient

A simple object defining a color gradient.

  • 1.8.0
  • 1.8.0
  • 1.8.0

NOTE This is an abstract type. Any object meeting this description can be used where this type is used.

Defined By

Properties

Gradient
: Boolean
Set to true to continue filling with the final color beyond the endPoint. ...

Set to true to continue filling with the final color beyond the endPoint.

On Android, this property is only supported by radial gradients.

Default: false

  • 7.1.0
  • 1.8.0
  • 1.8.0
Gradient
: Boolean
Set to true to continue filling with the starting color beyond the startPoint. ...

Set to true to continue filling with the starting color beyond the startPoint.

On Android, this property is only supported by radial gradients.

Default: false

  • 7.1.0
  • 1.8.0
  • 1.8.0
Gradient
colors : String[]/GradientColorRef[]

An array of colors, as a color name or hex triplet.

An array of colors, as a color name or hex triplet.

For information about color values, see the "Colors" section of Titanium.UI.

Gradient
: Point
End point for the gradient. ...

End point for the gradient.

Default: [object Object]

Gradient
endRadius : Number

For a radial gradient, the radius at the endPoint.

For a radial gradient, the radius at the endPoint.

  • 7.1.0
  • 1.8.0
  • 1.8.0
Gradient
: Point
Start point for the gradient. ...

Start point for the gradient.

Default: [object Object]

Gradient
startRadius : Number

For a radial gradient, the radius at the startPoint.

For a radial gradient, the radius at the startPoint.

  • 7.1.0
  • 1.8.0
  • 1.8.0
Gradient
: String
Type of gradient, either 'linear' or 'radial'. ...

Type of gradient, either 'linear' or 'radial'.

Default: linear