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 |
No description available in the introspection data.
Synopsis
- newtype AnnotCircle = AnnotCircle (ManagedPtr AnnotCircle)
- class (GObject o, IsDescendantOf AnnotCircle o) => IsAnnotCircle o
- toAnnotCircle :: (MonadIO m, IsAnnotCircle o) => o -> m AnnotCircle
- noAnnotCircle :: Maybe AnnotCircle
- annotCircleGetInteriorColor :: (HasCallStack, MonadIO m, IsAnnotCircle a) => a -> m Color
- annotCircleNew :: (HasCallStack, MonadIO m, IsDocument a) => a -> Rectangle -> m AnnotCircle
- annotCircleSetInteriorColor :: (HasCallStack, MonadIO m, IsAnnotCircle a) => a -> Maybe Color -> m ()
Exported types
newtype AnnotCircle Source #
Memory-managed wrapper type.
Instances
GObject AnnotCircle Source # | |
Defined in GI.Poppler.Objects.AnnotCircle gobjectType :: IO GType # | |
HasParentTypes AnnotCircle Source # | |
Defined in GI.Poppler.Objects.AnnotCircle | |
type ParentTypes AnnotCircle Source # | |
Defined in GI.Poppler.Objects.AnnotCircle |
class (GObject o, IsDescendantOf AnnotCircle o) => IsAnnotCircle o Source #
Type class for types which can be safely cast to AnnotCircle
, for instance with toAnnotCircle
.
Instances
(GObject o, IsDescendantOf AnnotCircle o) => IsAnnotCircle o Source # | |
Defined in GI.Poppler.Objects.AnnotCircle |
toAnnotCircle :: (MonadIO m, IsAnnotCircle o) => o -> m AnnotCircle Source #
Cast to AnnotCircle
, for types for which this is known to be safe. For general casts, use castTo
.
noAnnotCircle :: Maybe AnnotCircle Source #
A convenience alias for Nothing
:: Maybe
AnnotCircle
.
Methods
getInteriorColor
annotCircleGetInteriorColor Source #
:: (HasCallStack, MonadIO m, IsAnnotCircle a) | |
=> a |
|
-> m Color | Returns: a new allocated |
Retrieves the interior color of popplerAnnot
.
Since: 0.26
new
:: (HasCallStack, MonadIO m, IsDocument a) | |
=> a |
|
-> Rectangle |
|
-> m AnnotCircle | Returns: a newly created |
Creates a new Circle annotation that will be
located on rect
when added to a page. See
pageAddAnnot
Since: 0.26
setInteriorColor
annotCircleSetInteriorColor Source #
:: (HasCallStack, MonadIO m, IsAnnotCircle a) | |
=> a |
|
-> Maybe Color | |
-> m () |
Sets the interior color of popplerAnnot
.
Since: 0.26