GooCanvas.CanvasItemModelSimple¶
- Subclasses:
 GooCanvas.CanvasEllipseModel,GooCanvas.CanvasGridModel,GooCanvas.CanvasGroupModel,GooCanvas.CanvasImageModel,GooCanvas.CanvasPathModel,GooCanvas.CanvasPolylineModel,GooCanvas.CanvasRectModel,GooCanvas.CanvasTextModel
Methods¶
- Inherited:
 - Structs:
 
Virtual Methods¶
- Inherited:
 
Properties¶
- Inherited:
 
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w  | 
The antialiasing mode to use  | 
||
r/w  | 
The fill rule used to determine which parts of the item are clipped  | 
||
w  | 
The sequence of path commands specifying the clip path  | 
||
w  | 
The color to use to paint the interior of the item. To disable painting set the ‘fill-pattern’ property to   | 
||
r/w  | 
The color to use to paint the interior of the item, specified as a   | 
||
r/w  | 
The color to use to paint the interior of the item, specified as a 32-bit integer value. To disable painting set the ‘fill-pattern’ property to   | 
||
r/w  | 
The pattern to use to paint the interior of the item, or   | 
||
w  | 
The pixbuf to use to paint the interior of the item. To disable painting set the ‘fill-pattern’ property to   | 
||
r/w  | 
The fill rule used to determine which parts of the item are filled  | 
||
r/w  | 
The base font to use for the text  | 
||
r/w  | 
The attributes specifying which font to use  | 
||
r/w  | 
The hinting to be used for font metrics  | 
||
r/w  | 
The line cap style to use  | 
||
r/w  | 
The dash pattern to use  | 
||
r/w  | 
The line join style to use  | 
||
r/w  | 
The smallest angle to use with miter joins, in degrees. Bevel joins will be used below this limit  | 
||
r/w  | 
The line width to use for the item’s perimeter  | 
||
r/w  | 
The compositing operator to use  | 
||
w  | 
The color to use for the item’s perimeter. To disable painting set the ‘stroke-pattern’ property to   | 
||
r/w  | 
The color to use for the item’s perimeter, specified as a   | 
||
r/w  | 
The color to use for the item’s perimeter, specified as a 32-bit integer value. To disable painting set the ‘stroke-pattern’ property to   | 
||
r/w  | 
The pattern to use to paint the perimeter of the item, or   | 
||
w  | 
The pixbuf to use to draw the item’s perimeter. To disable painting set the ‘stroke-pattern’ property to   | 
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
description  | 
r  | 
||
parent  | 
r  | 
the parent model.  | 
|
parent_object  | 
r  | 
||
simple_data  | 
r  | 
data used by the canvas item for viewing the model.  | 
|
title  | 
r  | 
Class Details¶
- class GooCanvas.CanvasItemModelSimple(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
GooCanvas.CanvasItemModelSimpleis used as a base class for the standard canvas item models. It can also be used as the base class for new custom canvas item models.The Model/View canvas feature may be removed in a future version of
GooCanvas.Canvas.It provides default implementations for many of the
GooCanvas.CanvasItemModelmethods.Subclasses of
GooCanvas.CanvasItemModelSimpleonly need to implement the create_item() method of theGooCanvas.CanvasItemModelinterface, to create the default canvas item to view the item model.
Property Details¶
- GooCanvas.CanvasItemModelSimple.props.antialias¶
 - Name:
 antialias- Type:
 - Default Value:
 - Flags:
 
The antialiasing mode to use
- GooCanvas.CanvasItemModelSimple.props.clip_fill_rule¶
 - Name:
 clip-fill-rule- Type:
 - Default Value:
 - Flags:
 
The fill rule used to determine which parts of the item are clipped
- GooCanvas.CanvasItemModelSimple.props.clip_path¶
 - 
The sequence of commands describing the clip path of the item, specified as a string using the same syntax as in the Scalable Vector Graphics (SVG) path element.
 
- GooCanvas.CanvasItemModelSimple.props.fill_color¶
 - 
The color to use to paint the interior of the item. To disable painting set the ‘fill-pattern’ property to
None 
- GooCanvas.CanvasItemModelSimple.props.fill_color_gdk_rgba¶
 - 
The color to use to paint the interior of the item, specified as a
Gdk.RGBA. To disable painting set the ‘fill-pattern’ property toNone 
- GooCanvas.CanvasItemModelSimple.props.fill_color_rgba¶
 - 
The color to use to paint the interior of the item, specified as a 32-bit integer value. To disable painting set the ‘fill-pattern’ property to
None 
- GooCanvas.CanvasItemModelSimple.props.fill_pattern¶
 - 
The pattern to use to paint the interior of the item, or
Noneto disable painting 
- GooCanvas.CanvasItemModelSimple.props.fill_pixbuf¶
 - Name:
 fill-pixbuf- Type:
 - Default Value:
 - Flags:
 
The pixbuf to use to paint the interior of the item. To disable painting set the ‘fill-pattern’ property to
None
- GooCanvas.CanvasItemModelSimple.props.fill_rule¶
 - Name:
 fill-rule- Type:
 - Default Value:
 - Flags:
 
The fill rule used to determine which parts of the item are filled
- GooCanvas.CanvasItemModelSimple.props.font¶
 - 
The base font to use for the text
 
- GooCanvas.CanvasItemModelSimple.props.font_desc¶
 - Name:
 font-desc- Type:
 - Default Value:
 - Flags:
 
The attributes specifying which font to use
- GooCanvas.CanvasItemModelSimple.props.hint_metrics¶
 - Name:
 hint-metrics- Type:
 - Default Value:
 - Flags:
 
The hinting to be used for font metrics
- GooCanvas.CanvasItemModelSimple.props.line_cap¶
 - Name:
 line-cap- Type:
 - Default Value:
 - Flags:
 
The line cap style to use
- GooCanvas.CanvasItemModelSimple.props.line_dash¶
 - Name:
 line-dash- Type:
 - Default Value:
 - Flags:
 
The dash pattern to use
- GooCanvas.CanvasItemModelSimple.props.line_join¶
 - Name:
 line-join- Type:
 - Default Value:
 - Flags:
 
The line join style to use
- GooCanvas.CanvasItemModelSimple.props.line_join_miter_limit¶
 - 
The smallest angle to use with miter joins, in degrees. Bevel joins will be used below this limit
 
- GooCanvas.CanvasItemModelSimple.props.line_width¶
 - 
The line width to use for the item’s perimeter
 
- GooCanvas.CanvasItemModelSimple.props.operator¶
 - Name:
 operator- Type:
 - Default Value:
 - Flags:
 
The compositing operator to use
- GooCanvas.CanvasItemModelSimple.props.stroke_color¶
 - 
The color to use for the item’s perimeter. To disable painting set the ‘stroke-pattern’ property to
None 
- GooCanvas.CanvasItemModelSimple.props.stroke_color_gdk_rgba¶
 - 
The color to use for the item’s perimeter, specified as a
Gdk.RGBA. To disable painting set the ‘stroke-pattern’ property toNone 
- GooCanvas.CanvasItemModelSimple.props.stroke_color_rgba¶
 - 
The color to use for the item’s perimeter, specified as a 32-bit integer value. To disable painting set the ‘stroke-pattern’ property to
None 
- GooCanvas.CanvasItemModelSimple.props.stroke_pattern¶
 - 
The pattern to use to paint the perimeter of the item, or
Nonedisable painting