GOffice.CanvasImage

g GObject.Object GObject.Object GOffice.CanvasItem GOffice.CanvasItem GObject.Object->GOffice.CanvasItem GOffice.CanvasImage GOffice.CanvasImage GOffice.CanvasItem->GOffice.CanvasImage

Subclasses:

None

Methods

Inherited:

GOffice.CanvasItem (22), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

Virtual Methods

Inherited:

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

Properties

Inherited:

GOffice.CanvasItem (2)

Name

Type

Flags

Short Description

crop-bottom

float

r/w

The cropped area at the image bottom as a fraction of the image height

crop-left

float

r/w

The cropped area at the image left of the image width

crop-right

float

r/w

The cropped area at the image right of the image width

crop-top

float

r/w

The cropped area at the image top as a fraction of the image height

height

float

r/w

The image height or -1 to use the image height

image

GOffice.Image

r/w

The GOffice.Image to display

width

float

r/w

The image width or -1 to use the image width

x

float

r/w

The image left position

y

float

r/w

The image top position

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

base

GOffice.CanvasItem

r

crop_bottom

float

r

crop_left

float

r

crop_right

float

r

crop_top

float

r

height

float

r

image

GOffice.Image

r

priv

object

r

rotation

float

r

width

float

r

x

float

r

y

float

r

Class Details

class GOffice.CanvasImage(**kwargs)
Bases:

GOffice.CanvasItem

Abstract:

No

Property Details

GOffice.CanvasImage.props.crop_bottom
Name:

crop-bottom

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The cropped area at the image bottom as a fraction of the image height

GOffice.CanvasImage.props.crop_left
Name:

crop-left

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The cropped area at the image left of the image width

GOffice.CanvasImage.props.crop_right
Name:

crop-right

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The cropped area at the image right of the image width

GOffice.CanvasImage.props.crop_top
Name:

crop-top

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The cropped area at the image top as a fraction of the image height

GOffice.CanvasImage.props.height
Name:

height

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The image height or -1 to use the image height

GOffice.CanvasImage.props.image
Name:

image

Type:

GOffice.Image

Default Value:

None

Flags:

READABLE, WRITABLE

The GOffice.Image to display

GOffice.CanvasImage.props.width
Name:

width

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The image width or -1 to use the image width

GOffice.CanvasImage.props.x
Name:

x

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The image left position

GOffice.CanvasImage.props.y
Name:

y

Type:

float

Default Value:

0.0

Flags:

READABLE, WRITABLE

The image top position