wx.svg._nanosvg.SVGgradient¶
A gradient is a method used to fade from one color to another, either linearly or radially.
Class Hierarchy¶
Properties Summary¶
SVGgradient.fx: float |
|
SVGgradient.fy: float |
|
SVGgradient.spread: int |
|
A generator that iterates over the |
|
SVGgradient.xform: list |
Class API¶
- class SVGgradient(object)¶
A gradient is a method used to fade from one color to another, either linearly or radially.
Properties¶
- fx¶
SVGgradient.fx: float
- fy¶
SVGgradient.fy: float
- spread¶
SVGgradient.spread: int
- stops¶
A generator that iterates over the
SVGgradientStop
objects contained in the SVGgradient
- xform¶
SVGgradient.xform: list The gradient’s transform