| 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 | 
GI.Poppler.Objects.AnnotSquare
Description
No description available in the introspection data.
Synopsis
- newtype AnnotSquare = AnnotSquare (ManagedPtr AnnotSquare)
 - class (GObject o, IsDescendantOf AnnotSquare 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 #
Memory-managed wrapper type.
Constructors
| AnnotSquare (ManagedPtr AnnotSquare) | 
Instances
| GObject AnnotSquare Source # | |
Defined in GI.Poppler.Objects.AnnotSquare Methods gobjectType :: IO GType #  | |
| HasParentTypes AnnotSquare Source # | |
Defined in GI.Poppler.Objects.AnnotSquare  | |
| type ParentTypes AnnotSquare Source # | |
Defined in GI.Poppler.Objects.AnnotSquare  | |
class (GObject o, IsDescendantOf AnnotSquare o) => IsAnnotSquare o Source #
Type class for types which can be safely cast to AnnotSquare, for instance with toAnnotSquare.
Instances
| (GObject o, IsDescendantOf AnnotSquare o) => IsAnnotSquare o Source # | |
Defined in GI.Poppler.Objects.AnnotSquare  | |
toAnnotSquare :: (MonadIO m, IsAnnotSquare o) => o -> m AnnotSquare Source #
Cast to AnnotSquare, for types for which this is known to be safe. For general casts, use castTo.
noAnnotSquare :: Maybe AnnotSquare Source #
A convenience alias for Nothing :: Maybe AnnotSquare.
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