GooCanvas.CanvasPath¶
- Subclasses:
None
Methods¶
- Inherited:
GooCanvas.CanvasItemSimple (9), GObject.Object (37), GooCanvas.CanvasItem (48)
- Structs:
Virtual Methods¶
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
w |
The sequence of path commands |
||
r/w |
The height of the path |
||
r/w |
The width of the path |
||
r/w |
The x coordinate of the path |
||
r/w |
The y coordinate of the path |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
||
path_data |
r |
Class Details¶
- class GooCanvas.CanvasPath(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
GooCanvas.CanvasPath
represents a path item, which is a series of one or more lines, bezier curves, or elliptical arcs.It is a subclass of
GooCanvas.CanvasItemSimple
and so inherits all of the style properties such as “stroke-color”, “fill-color” and “line-width”.It also implements the
GooCanvas.CanvasItem
interface, so you can use theGooCanvas.CanvasItem
functions such asGooCanvas.CanvasItem.raise_
() andGooCanvas.CanvasItem.rotate
().GooCanvas.CanvasPath
uses the same path specification strings as the Scalable Vector Graphics (SVG) path element. For details see theSVG specification. To create a
GooCanvas.CanvasPath
use goo_canvas_path_new().To get or set the properties of an existing
GooCanvas.CanvasPath
, use g_object_get() and g_object_set().
Property Details¶
- GooCanvas.CanvasPath.props.data¶
-
The sequence of path commands, specified as a string using the same syntax as in the Scalable Vector Graphics (SVG) path element.
- GooCanvas.CanvasPath.props.height¶
-
The height of the path
- GooCanvas.CanvasPath.props.width¶
-
The width of the path
- GooCanvas.CanvasPath.props.x¶
-
The x coordinate of the path