CanvasPathModel


Object Hierarchy:

Goo.CanvasPathModel Goo.CanvasPathModel Goo.CanvasPathModel Goo.CanvasItemModelSimple Goo.CanvasItemModelSimple Goo.CanvasItemModelSimple->Goo.CanvasPathModel GLib.Object GLib.Object GLib.Object->Goo.CanvasItemModelSimple Goo.CanvasItemModel Goo.CanvasItemModel Goo.CanvasItemModel->Goo.CanvasPathModel Goo.CanvasItemModel->Goo.CanvasItemModelSimple

Description:

[ CCode ( type_id = "goo_canvas_path_model_get_type ()" ) ]
public class CanvasPathModel : CanvasItemModelSimple, CanvasItemModel

GooCanvasPathModel represents a model for path items, which are a series of one or more lines, bezier curves, or elliptical arcs.

It is a subclass of CanvasItemModelSimple and so inherits all of the style properties such as "stroke-color", "fill-color" and "line-width".

It also implements the CanvasItemModel interface, so you can use the CanvasItemModel functions such as raise and rotate.

CanvasPathModel uses the same path specification strings as the Scalable Vector Graphics (SVG) path element. For details see the <ulink url="http://www.w3.org/Graphics/SVG/">SVG specification</ulink>.

To create a CanvasPathModel use CanvasPathModel.

To get or set the properties of an existing CanvasPathModel, use @get and @set.

To respond to events such as mouse clicks on the path you must connect to the signal handlers of the corresponding CanvasPath objects. (See get_item and item_created.)


Namespace: Goo
Package: goocanvas-2.0

Content:

Properties:

Creation methods:

Fields:

Inherited Members: