GOffice.CanvasRectangle

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.CanvasRectangle GOffice.CanvasRectangle GOffice.CanvasStyledItem->GOffice.CanvasRectangle 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

height

float

r/w

The rectangle height

rotation

float

r/w

The rotation around top left position

rx

float

r/w

The round rectangle rx

ry

float

r/w

The round rectangle ry

type

int

r/w

The rectangle type: 0 for no rounded corner, 1 for rounded top left, 2 for top right, 4 for bottom right, 8 for bottom left, or any combination of these.

width

float

r/w

The rectangle width

x

float

r/w

The rectangle left position (or right position in RTL mode)

y

float

r/w

The rectangle top position

Signals

Inherited:

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

Fields

Inherited:

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

Name

Type

Access

Description

base

GOffice.CanvasStyledItem

r

height

float

r

priv

object

r

rotation

float

r

rx

float

r

ry

float

r

type

int

r

width

float

r

x

float

r

y

float

r

Class Details

class GOffice.CanvasRectangle(**kwargs)
Bases:

GOffice.CanvasStyledItem

Abstract:

No

Property Details

GOffice.CanvasRectangle.props.height
Name:

height

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The rectangle height

GOffice.CanvasRectangle.props.rotation
Name:

rotation

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The rotation around top left position

GOffice.CanvasRectangle.props.rx
Name:

rx

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The round rectangle rx

GOffice.CanvasRectangle.props.ry
Name:

ry

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The round rectangle ry

GOffice.CanvasRectangle.props.type
Name:

type

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE

The rectangle type: 0 for no rounded corner, 1 for rounded top left, 2 for top right, 4 for bottom right, 8 for bottom left, or any combination of these.

GOffice.CanvasRectangle.props.width
Name:

width

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The rectangle width

GOffice.CanvasRectangle.props.x
Name:

x

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The rectangle left position (or right position in RTL mode)

GOffice.CanvasRectangle.props.y
Name:

y

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The rectangle top position