gi-poppler-0.18.14: 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.AnnotSquare

Contents

Description

 

Synopsis

Exported types

Methods

getInteriorColor

annotSquareGetInteriorColor Source #

Arguments

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

popplerAnnot: a AnnotSquare

-> m Color

Returns: a new allocated Color with the color values of popplerAnnot, or Nothing. It must be freed with free when done.

Retrieves the interior color of popplerAnnot.

Since: 0.26

new

annotSquareNew Source #

Arguments

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

doc: a Document

-> Rectangle

rect: a Rectangle

-> m AnnotSquare

Returns: a newly created AnnotSquare annotation

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

Since: 0.26

setInteriorColor

annotSquareSetInteriorColor Source #

Arguments

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

popplerAnnot: a AnnotSquare

-> Maybe Color

popplerColor: a Color, or Nothing

-> m () 

Sets the interior color of popplerAnnot.

Since: 0.26