| 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.AnnotLine
Contents
Description
- newtype AnnotLine = AnnotLine (ManagedPtr AnnotLine)
- class GObject 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
Constructors
| AnnotLine (ManagedPtr AnnotLine) |
class GObject o => IsAnnotLine o Source #
Instances
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