Class: ClutterGst::Aspectratio
Overview
Base class for Clutter::GstAspectratio.
Class Method Summary collapse
-
.new ⇒ Clutter::Content
A new Clutter::GstAspectratio instance.
Instance Method Summary collapse
-
#fill_allocation=(fill_allocation) ⇒ Boolean
Whether the content should fill its allocation with video rather than adding borders.
-
#fill_allocation? ⇒ Boolean
Whether the content should fill its allocation with video rather than adding borders.
-
#paint_borders=(paint_borders) ⇒ Boolean
Whether or not paint borders on the sides of the video.
-
#paint_borders? ⇒ Boolean
Whether or not paint borders on the sides of the video.
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
.new ⇒ Clutter::Content
Returns 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.
#fill_allocation? ⇒ Boolean
Whether the content should fill its allocation with video rather than adding borders.
#paint_borders=(paint_borders) ⇒ Boolean
Whether or not paint borders on the sides of the video
#paint_borders? ⇒ Boolean
Whether or not paint borders on the sides of the video