wx.svg._nanosvg.SVGgradientStop
A Gradient stop is an offset and a color, which is used when drawing gradients.
Class Hierarchy
Inheritance diagram for class
SVGgradientStop:
Properties Summary
color
|
SVGgradientStop.color: uint |
color_rgba
|
SVGgradientStop.color_rgba: tuple |
offset
|
SVGgradientStop.offset: float |
Class API
-
class
SVGgradientStop
(object)
A Gradient stop is an offset and a color, which is used when drawing gradients.
Properties
-
color
SVGgradientStop.color: uint
-
color_rgba
SVGgradientStop.color_rgba: tuple
Returns color as a RGBA tuple
-
offset
SVGgradientStop.offset: float