CanvasRectModel


Object Hierarchy:

Object hierarchy for CanvasRectModel

Description:


public class CanvasRectModel : CanvasItemModelSimple, CanvasItemModel

GooCanvasRectModel represents a model for rectangle items.

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.

To create a CanvasRectModel use create.

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

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


Namespace: Goo
Package: goocanvas

Content:

Properties:

Static methods:

Creation methods:

Inherited Members: