Xinf API Reference
Back | Index
typedef xinf.erno.TGradientStop

Defines a color stop for a Gradient.

r, g, b and a define the RGBA color to be used at the stop, with values from 0.0 to 1.0.

offset defines the offset of the stop, 0 to 1.

See Paint.

See also: The "stop" element in SVG

var r :Float
var offset :Float
var g :Float
var b :Float
var a :Float
Back | Index