| 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.AnnotLine
Contents
Description
No description available in the introspection data.
Synopsis
- newtype AnnotLine = AnnotLine (ManagedPtr AnnotLine)
- class (GObject o, IsDescendantOf AnnotLine o) => IsAnnotLine o
- toAnnotLine :: (MonadIO m, IsAnnotLine o) => o -> m AnnotLine
- noAnnotLine :: Maybe AnnotLine
- annotLineNew :: (HasCallStack, MonadIO m, IsDocument a) => a -> Rectangle -> Point -> Point -> m AnnotLine
- annotLineSetVertices :: (HasCallStack, MonadIO m, IsAnnotLine a) => a -> Point -> Point -> m ()
Exported types
Memory-managed wrapper type.
Constructors
| AnnotLine (ManagedPtr AnnotLine) |
Instances
| GObject AnnotLine Source # | |
Defined in GI.Poppler.Objects.AnnotLine Methods gobjectType :: IO GType # | |
| HasParentTypes AnnotLine Source # | |
Defined in GI.Poppler.Objects.AnnotLine | |
| type ParentTypes AnnotLine Source # | |
Defined in GI.Poppler.Objects.AnnotLine | |
class (GObject o, IsDescendantOf AnnotLine o) => IsAnnotLine o Source #
Type class for types which can be safely cast to AnnotLine, for instance with toAnnotLine.
Instances
| (GObject o, IsDescendantOf AnnotLine o) => IsAnnotLine o Source # | |
Defined in GI.Poppler.Objects.AnnotLine | |
toAnnotLine :: (MonadIO m, IsAnnotLine o) => o -> m AnnotLine Source #
Methods
new
Arguments
| :: (HasCallStack, MonadIO m, IsDocument a) | |
| => a |
|
| -> Rectangle |
|
| -> Point |
|
| -> Point |
|
| -> m AnnotLine | Returns: A newly created |
Creates a new Line annotation that will be
located on rect when added to a page. See
pageAddAnnot
Since: 0.26
setVertices
Arguments
| :: (HasCallStack, MonadIO m, IsAnnotLine a) | |
| => a |
|
| -> Point |
|
| -> Point |
|
| -> m () |
Set the coordinate points where the popplerAnnot starts and ends.
Since: 0.26