GOffice.CanvasPolygon

g GObject.GInterface GObject.GInterface GOffice.StyledObject GOffice.StyledObject GObject.GInterface->GOffice.StyledObject GObject.Object GObject.Object GOffice.CanvasItem GOffice.CanvasItem GObject.Object->GOffice.CanvasItem GOffice.CanvasStyledItem GOffice.CanvasStyledItem GOffice.CanvasItem->GOffice.CanvasStyledItem GOffice.CanvasPolygon GOffice.CanvasPolygon GOffice.CanvasStyledItem->GOffice.CanvasPolygon GOffice.StyledObject->GOffice.CanvasStyledItem

Subclasses:

None

Methods

Inherited:

GOffice.CanvasStyledItem (3), GOffice.CanvasItem (22), GObject.Object (37), GOffice.StyledObject (8)

Structs:

GObject.ObjectClass (5)

Virtual Methods

Inherited:

GOffice.CanvasStyledItem (2), GOffice.CanvasItem (17), GObject.Object (7)

Properties

Inherited:

GOffice.CanvasStyledItem (2), GOffice.CanvasItem (2)

Name

Type

Flags

Short Description

fill-rule

bool

r/w

Set GOffice.fill rule to winding or even/odd

points

GOffice.CanvasPoints

r/w

The polygon vertices

sizes

GOffice.CanvasIntArray

r/w

If set, the polygon will be split as several polygons according to the given sizes. Each size must be at least 3. Values following an invalid GOffice.value will be discarded. Setting the “point” property will reset the sizes.

use-spline

bool

r/w

Use a Bezier closed cubic spline as contour

Signals

Inherited:

GOffice.CanvasStyledItem (1), GObject.Object (1)

Fields

Inherited:

GOffice.CanvasStyledItem (1), GObject.Object (1)

Name

Type

Access

Description

base

GOffice.CanvasStyledItem

r

fill_rule

bool

r

nb_points

int

r

nb_sizes

int

r

points

GOffice.CanvasPoint

r

priv

object

r

sizes

int

r

use_spline

bool

r

Class Details

class GOffice.CanvasPolygon(**kwargs)
Bases:

GOffice.CanvasStyledItem

Abstract:

No

Property Details

GOffice.CanvasPolygon.props.fill_rule
Name:

fill-rule

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Set GOffice.fill rule to winding or even/odd

GOffice.CanvasPolygon.props.points
Name:

points

Type:

GOffice.CanvasPoints

Default Value:

None

Flags:

READABLE, WRITABLE

The polygon vertices

GOffice.CanvasPolygon.props.sizes
Name:

sizes

Type:

GOffice.CanvasIntArray

Default Value:

None

Flags:

READABLE, WRITABLE

If set, the polygon will be split as several polygons according to the given sizes. Each size must be at least 3. Values following an invalid GOffice.value will be discarded. Setting the “point” property will reset the sizes.

GOffice.CanvasPolygon.props.use_spline
Name:

use-spline

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Use a Bezier closed cubic spline as contour