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

Tight bounding box of the shape [minx,miny,maxx,maxy]

fill

SVGpaint for the fill

fillRule

Fill rule

flags

Logical OR of SVG_FLAGS_* flags

id

Optional ‘id’ attr of the shape or its group

maxx

maxy

minx

miny

miterLimit

Miter limit

opacity

Opacity of the shape

paths

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

stroke

SVGpaint for the stroke

strokeDashArray

Stroke dash array (scaled)

strokeDashOffset

Stroke dash offset (scaled)

strokeLineCap

Stroke cap type

strokeLineJoin

Stroke join type

strokeWidth

Stroke width (scaled)


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

Tight bounding box of the shape [minx,miny,maxx,maxy]



fill

SVGpaint for the fill



fillRule

Fill rule



flags

Logical OR of SVG_FLAGS_* flags



id

Optional ‘id’ attr of the shape or its group



miterLimit

Miter limit



opacity

Opacity of the shape



paths

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



stroke

SVGpaint for the stroke



strokeDashArray

Stroke dash array (scaled)



strokeDashOffset

Stroke dash offset (scaled)



strokeLineCap

Stroke cap type



strokeLineJoin

Stroke join type



strokeWidth

Stroke width (scaled)