| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Poppler.Objects.AnnotSquare
Description
- newtype AnnotSquare = AnnotSquare (ManagedPtr AnnotSquare)
- class GObject o => IsAnnotSquare o
- toAnnotSquare :: (MonadIO m, IsAnnotSquare o) => o -> m AnnotSquare
- noAnnotSquare :: Maybe AnnotSquare
- annotSquareGetInteriorColor :: (HasCallStack, MonadIO m, IsAnnotSquare a) => a -> m Color
- annotSquareNew :: (HasCallStack, MonadIO m, IsDocument a) => a -> Rectangle -> m AnnotSquare
- annotSquareSetInteriorColor :: (HasCallStack, MonadIO m, IsAnnotSquare a) => a -> Maybe Color -> m ()
Exported types
newtype AnnotSquare Source #
Constructors
| AnnotSquare (ManagedPtr AnnotSquare) |
class GObject o => IsAnnotSquare o Source #
Instances
toAnnotSquare :: (MonadIO m, IsAnnotSquare o) => o -> m AnnotSquare Source #
Methods
getInteriorColor
annotSquareGetInteriorColor Source #
Arguments
| :: (HasCallStack, MonadIO m, IsAnnotSquare a) | |
| => a |
|
| -> m Color | Returns: a new allocated |
Retrieves the interior color of popplerAnnot.
Since: 0.26
new
Arguments
| :: (HasCallStack, MonadIO m, IsDocument a) | |
| => a |
|
| -> Rectangle |
|
| -> m AnnotSquare | Returns: a newly created |
Creates a new Square annotation that will be
located on rect when added to a page. See
pageAddAnnot
Since: 0.26
setInteriorColor
annotSquareSetInteriorColor Source #
Arguments
| :: (HasCallStack, MonadIO m, IsAnnotSquare a) | |
| => a |
|
| -> Maybe Color | |
| -> m () |
Sets the interior color of popplerAnnot.
Since: 0.26