gi-poppler-0.18.26: Poppler bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Poppler.Objects.AnnotCircle

Description

No description available in the introspection data.

Synopsis

Exported types

class (GObject o, IsDescendantOf AnnotCircle o) => IsAnnotCircle o Source #

Type class for types which can be safely cast to AnnotCircle, for instance with toAnnotCircle.

Instances

Instances details
(GObject o, IsDescendantOf AnnotCircle o) => IsAnnotCircle o Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotCircle

toAnnotCircle :: (MonadIO m, IsAnnotCircle o) => o -> m AnnotCircle Source #

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

Methods

getInteriorColor

annotCircleGetInteriorColor Source #

Arguments

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

popplerAnnot: a AnnotCircle

-> 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

annotCircleNew Source #

Arguments

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

doc: a Document

-> Rectangle

rect: a Rectangle

-> m AnnotCircle

Returns: a newly created AnnotCircle annotation

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

Since: 0.26

setInteriorColor

annotCircleSetInteriorColor Source #

Arguments

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

popplerAnnot: a AnnotCircle

-> Maybe Color

popplerColor: a Color, or Nothing

-> m () 

Sets the interior color of popplerAnnot.

Since: 0.26