ClutterGst.Box

Fields

Name

Type

Access

Description

x1

float

r/w

X coordinate of the top left corner

x2

float

r/w

X coordinate of the bottom right corner

y1

float

r/w

Y coordinate of the top left corner

y2

float

r/w

Y coordinate of the bottom right corner

Methods

get_height ()

get_width ()

Details

class ClutterGst.Box

Bounding box of an area in a video texture or actor’s allocation. Coordinates are usually expressed in the [0, 1] interval.

New in version 3.0.

get_height()
Returns:

the height of the box

Return type:

float

Retrieves the height of the self

New in version 3.0.

get_width()
Returns:

the width of the box

Return type:

float

Retrieves the width of the self

New in version 3.0.