Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
Defines the x and y coordinates of a point.
Exported types
Memory-managed wrapper type.
Instances
WrappedPtr Point Source # | |
Defined in GI.Gdk.Structs.Point wrappedPtrCalloc :: IO (Ptr Point) # wrappedPtrCopy :: Point -> IO Point # | |
tag ~ AttrSet => Constructible Point tag Source # | |
Defined in GI.Gdk.Structs.Point |
Properties
x
the x coordinate of the point.
getPointX :: MonadIO m => Point -> m Int32 Source #
Get the value of the “x
” field.
When overloading is enabled, this is equivalent to
get
point #x
setPointX :: MonadIO m => Point -> Int32 -> m () Source #
Set the value of the “x
” field.
When overloading is enabled, this is equivalent to
set
point [ #x:=
value ]
y
the y coordinate of the point.