gi-cairo-1.0.29: Cairo bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Cairo.Structs.Rectangle

Description

No description available in the introspection data.

Synopsis

Exported types

newtype Rectangle Source #

Memory-managed wrapper type.

newZeroRectangle :: MonadIO m => m Rectangle Source #

Construct a Rectangle struct initialized to zero.

Methods

Properties

height

No description available in the introspection data.

getRectangleHeight :: MonadIO m => Rectangle -> m Double Source #

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

get rectangle #height

setRectangleHeight :: MonadIO m => Rectangle -> Double -> m () Source #

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

set rectangle [ #height := value ]

width

No description available in the introspection data.

getRectangleWidth :: MonadIO m => Rectangle -> m Double Source #

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

get rectangle #width

setRectangleWidth :: MonadIO m => Rectangle -> Double -> m () Source #

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

set rectangle [ #width := value ]

x

No description available in the introspection data.

getRectangleX :: MonadIO m => Rectangle -> m Double Source #

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

get rectangle #x

setRectangleX :: MonadIO m => Rectangle -> Double -> m () Source #

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

set rectangle [ #x := value ]

y

No description available in the introspection data.

getRectangleY :: MonadIO m => Rectangle -> m Double Source #

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

get rectangle #y

setRectangleY :: MonadIO m => Rectangle -> Double -> m () Source #

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

set rectangle [ #y := value ]