wx.svg._nanosvg.SVGshape¶SVGshape is a set of attributes describing how to draw one shape in the SVG,
including stroke and fill styles, line styles, and paths. A collection of
SVGshapes is accessible from the shapes attribute of SVGimage.
Class Hierarchy¶
Inheritance diagram for class SVGshape:

Properties Summary¶SVGshape.bounds: list |
|
SVGshape.fill: SVGpaint |
|
SVGshape.fillRule: SVGfillRule |
|
SVGshape.flags: int |
|
Optional ‘id’ attr of the shape or its group |
|
SVGshape.maxx: float |
|
SVGshape.maxy: float |
|
SVGshape.minx: float |
|
SVGshape.miny: float |
|
SVGshape.miterLimit: float |
|
SVGshape.opacity: float |
|
A generator that iterates over the |
|
SVGshape.stroke: SVGpaint |
|
SVGshape.strokeDashArray: list |
|
SVGshape.strokeDashOffset: float |
|
SVGshape.strokeLineCap: SVGlineCap |
|
SVGshape.strokeLineJoin: SVGlineJoin |
|
SVGshape.strokeWidth: float |
Class API¶SVGshape(object)¶SVGshape is a set of attributes describing how to draw one shape in the SVG,
including stroke and fill styles, line styles, and paths. A collection of
SVGshapes is accessible from the shapes attribute of SVGimage.
bounds¶SVGshape.bounds: list Tight bounding box of the shape [minx,miny,maxx,maxy]
fillRule¶SVGshape.fillRule: SVGfillRule Fill rule
flags¶SVGshape.flags: int Logical OR of SVG_FLAGS_* flags
id¶Optional ‘id’ attr of the shape or its group
maxx¶SVGshape.maxx: float
maxy¶SVGshape.maxy: float
minx¶SVGshape.minx: float
miny¶SVGshape.miny: float
miterLimit¶SVGshape.miterLimit: float Miter limit
opacity¶SVGshape.opacity: float Opacity of the shape
strokeDashArray¶SVGshape.strokeDashArray: list Stroke dash array (scaled)
strokeDashOffset¶SVGshape.strokeDashOffset: float Stroke dash offset (scaled)
strokeLineCap¶SVGshape.strokeLineCap: SVGlineCap Stroke cap type
strokeLineJoin¶SVGshape.strokeLineJoin: SVGlineJoin Stroke join type
strokeWidth¶SVGshape.strokeWidth: float Stroke width (scaled)