gi-poppler-0.18.21: Poppler bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Poppler.Objects.AnnotLine

Description

No description available in the introspection data.

Synopsis

Exported types

newtype AnnotLine Source #

Memory-managed wrapper type.

Instances

Instances details
Eq AnnotLine Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotLine

GObject AnnotLine Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotLine

Methods

gobjectType :: IO GType #

IsGValue AnnotLine Source #

Convert AnnotLine to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Poppler.Objects.AnnotLine

HasParentTypes AnnotLine Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotLine

type ParentTypes AnnotLine Source # 
Instance details

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

Instances details
(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

Overloaded 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