Class: ClutterGst::Aspectratio

Inherits:
Content
  • Object
show all
Defined in:
(unknown)

Overview

Base class for Clutter::GstAspectratio.

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Content

#frame, #frame=, new_with_sink, #overlays, #paint_frame=, #paint_frame?, #paint_overlays=, #paint_overlays?, #player, #player=, #sink, #sink=

Class Method Details

.newClutter::Content

Returns a new Clutter::GstAspectratio instance.

Returns:

  • (Clutter::Content)

    a new Clutter::GstAspectratio instance

Instance Method Details

#fill_allocation=(fill_allocation) ⇒ Boolean

Whether the content should fill its allocation with video rather than adding borders.

Parameters:

  • fill_allocation (Boolean)

Returns:

  • (Boolean)

    fill-allocation

  • (Boolean)

    fill-allocation

#fill_allocation?Boolean

Whether the content should fill its allocation with video rather than adding borders.

Returns:

  • (Boolean)

    fill-allocation

#paint_borders=(paint_borders) ⇒ Boolean

Whether or not paint borders on the sides of the video

Parameters:

  • paint_borders (Boolean)

Returns:

  • (Boolean)

    paint-borders

  • (Boolean)

    paint-borders

#paint_borders?Boolean

Whether or not paint borders on the sides of the video

Returns:

  • (Boolean)

    paint-borders