| 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
No description available in the introspection data.
Synopsis
- 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
Memory-managed wrapper type.
Constructors
| AnnotLine (ManagedPtr AnnotLine) |
Instances
| GObject AnnotLine Source # | |
Defined in GI.Poppler.Objects.AnnotLine Methods gobjectType :: AnnotLine -> IO GType # | |
| IsObject AnnotLine Source # | |
Defined in GI.Poppler.Objects.AnnotLine | |
| IsAnnot AnnotLine Source # | |
Defined in GI.Poppler.Objects.AnnotLine | |
| IsAnnotMarkup AnnotLine Source # | |
Defined in GI.Poppler.Objects.AnnotLine | |
| IsAnnotLine AnnotLine Source # | |
Defined in GI.Poppler.Objects.AnnotLine | |
class GObject o => IsAnnotLine o Source #
Type class for types which can be safely cast to AnnotLine, for instance with toAnnotLine.
Instances
| (GObject a, (UnknownAncestorError AnnotLine a :: Constraint)) => IsAnnotLine a Source # | |
Defined in GI.Poppler.Objects.AnnotLine | |
| IsAnnotLine AnnotLine 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