ClutterGst.Crop

g Clutter.Content Clutter.Content ClutterGst.Content ClutterGst.Content Clutter.Content->ClutterGst.Content ClutterGst.Crop ClutterGst.Crop ClutterGst.Content->ClutterGst.Crop GObject.GInterface GObject.GInterface GObject.GInterface->Clutter.Content GObject.Object GObject.Object GObject.Object->ClutterGst.Content

Subclasses:

None

Methods

Inherited:

ClutterGst.Content (9), GObject.Object (37), Clutter.Content (2)

Structs:

GObject.ObjectClass (5)

class

new ()

Virtual Methods

Inherited:

ClutterGst.Content (1), GObject.Object (7), Clutter.Content (5)

Properties

Inherited:

ClutterGst.Content (5)

Name

Type

Flags

Short Description

cull-backface

bool

r/w

Cull the backface of the actor

input-region

ClutterGst.Box

r/w

Input Region

output-region

ClutterGst.Box

r/w

Output Region

paint-borders

bool

r/w

Paint borders on side of video

Signals

Inherited:

ClutterGst.Content (1), GObject.Object (1), Clutter.Content (2)

Fields

Inherited:

ClutterGst.Content (1), GObject.Object (1), Clutter.Content (2)

Name

Type

Access

Description

parent

ClutterGst.Content

r

Class Details

class ClutterGst.Crop(**kwargs)
Bases:

ClutterGst.Content

Abstract:

No

Structure:

ClutterGst.CropClass

Implementation of ClutterGst.Content that displays a sub region of video streams.

The ClutterGst.Crop structure contains only private data and should not be accessed directly.

classmethod new()
Returns:

a new ClutterGst.Crop instance

Return type:

Clutter.Actor

Property Details

ClutterGst.Crop.props.cull_backface
Name:

cull-backface

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Whether to cull the backface of the actor

New in version 3.0.

ClutterGst.Crop.props.input_region
Name:

input-region

Type:

ClutterGst.Box

Default Value:

None

Flags:

READABLE, WRITABLE

Input region in the video frame (all values between 0 and 1).

New in version 3.0.

ClutterGst.Crop.props.output_region
Name:

output-region

Type:

ClutterGst.Box

Default Value:

None

Flags:

READABLE, WRITABLE

Output region in the actor’s allocation (all values between 0 and 1).

New in version 3.0.

ClutterGst.Crop.props.paint_borders
Name:

paint-borders

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Whether or not paint borders on the sides of the video

New in version 3.0.