gi-poppler-0.18.18: Poppler bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Poppler.Objects.AnnotLine

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

newtype AnnotLine Source #

Memory-managed wrapper type.

Instances
GObject AnnotLine Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotLine

Methods

gobjectType :: IO GType #

HasParentTypes AnnotLine Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotLine

type ParentTypes AnnotLine Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotLine

type ParentTypes AnnotLine = AnnotMarkup ': (Annot ': (Object ': ([] :: [Type])))

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 # 
Instance details

Defined in GI.Poppler.Objects.AnnotLine

toAnnotLine :: (MonadIO m, IsAnnotLine o) => o -> m AnnotLine Source #

Cast to AnnotLine, for types for which this is known to be safe. For general casts, use castTo.

noAnnotLine :: Maybe AnnotLine Source #

A convenience alias for Nothing :: Maybe AnnotLine.

Methods

new

annotLineNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsDocument a) 
=> a

doc: a Document

-> Rectangle

rect: a Rectangle

-> Point

start: a Point of the starting vertice

-> Point

end: a Point of the ending vertice

-> m AnnotLine

Returns: A newly created AnnotLine annotation

Creates a new Line annotation that will be located on rect when added to a page. See pageAddAnnot

Since: 0.26

setVertices

annotLineSetVertices Source #

Arguments

:: (HasCallStack, MonadIO m, IsAnnotLine a) 
=> a

popplerAnnot: a AnnotLine

-> Point

start: a Point of the starting vertice

-> Point

end: a Point of the ending vertice

-> m () 

Set the coordinate points where the popplerAnnot starts and ends.

Since: 0.26