gi-poppler-0.18.11: Poppler bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Poppler.Objects.AnnotLine

Contents

Description

 

Synopsis

Exported types

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