phoenix_title 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 Class Hierarchy

Inheritance diagram for class SVGshape:

property_summary Properties Summary

bounds

SVGshape.bounds: list

fill

SVGshape.fill: SVGpaint

fillRule

SVGshape.fillRule: SVGfillRule

flags

SVGshape.flags: int

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

opacity

SVGshape.opacity: float

paths

A generator that iterates over the SVGpath objects contained in the SVGshape

stroke

SVGshape.stroke: SVGpaint

strokeDashArray

SVGshape.strokeDashArray: list

strokeDashOffset

SVGshape.strokeDashOffset: float

strokeLineCap

SVGshape.strokeLineCap: SVGlineCap

strokeLineJoin

SVGshape.strokeLineJoin: SVGlineJoin

strokeWidth

SVGshape.strokeWidth: float


api Class API

class 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.


Properties

bounds

SVGshape.bounds: list Tight bounding box of the shape [minx,miny,maxx,maxy]



fill

SVGshape.fill: SVGpaint SVGpaint for the fill



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



paths

A generator that iterates over the SVGpath objects contained in the SVGshape



stroke

SVGshape.stroke: SVGpaint SVGpaint for the stroke



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)