gi-gstvideo-1.0.25: GStreamerVideo bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GstVideo.Structs.VideoRectangle

Description

Helper structure representing a rectangular area.

Synopsis

Exported types

newZeroVideoRectangle :: MonadIO m => m VideoRectangle Source #

Construct a VideoRectangle struct initialized to zero.

Methods

Properties

h

height of the rectangle

getVideoRectangleH :: MonadIO m => VideoRectangle -> m Int32 Source #

Get the value of the “h” field. When overloading is enabled, this is equivalent to

get videoRectangle #h

setVideoRectangleH :: MonadIO m => VideoRectangle -> Int32 -> m () Source #

Set the value of the “h” field. When overloading is enabled, this is equivalent to

set videoRectangle [ #h := value ]

w

width of the rectangle

getVideoRectangleW :: MonadIO m => VideoRectangle -> m Int32 Source #

Get the value of the “w” field. When overloading is enabled, this is equivalent to

get videoRectangle #w

setVideoRectangleW :: MonadIO m => VideoRectangle -> Int32 -> m () Source #

Set the value of the “w” field. When overloading is enabled, this is equivalent to

set videoRectangle [ #w := value ]

x

X coordinate of rectangle's top-left point

getVideoRectangleX :: MonadIO m => VideoRectangle -> m Int32 Source #

Get the value of the “x” field. When overloading is enabled, this is equivalent to

get videoRectangle #x

setVideoRectangleX :: MonadIO m => VideoRectangle -> Int32 -> m () Source #

Set the value of the “x” field. When overloading is enabled, this is equivalent to

set videoRectangle [ #x := value ]

y

Y coordinate of rectangle's top-left point

getVideoRectangleY :: MonadIO m => VideoRectangle -> m Int32 Source #

Get the value of the “y” field. When overloading is enabled, this is equivalent to

get videoRectangle #y

setVideoRectangleY :: MonadIO m => VideoRectangle -> Int32 -> m () Source #

Set the value of the “y” field. When overloading is enabled, this is equivalent to

set videoRectangle [ #y := value ]