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

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

newtype AnnotCircle Source #

Memory-managed wrapper type.

Instances
GObject AnnotCircle Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotCircle

Methods

gobjectType :: IO GType #

HasParentTypes AnnotCircle Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotCircle

type ParentTypes AnnotCircle Source # 
Instance details

Defined in GI.Poppler.Objects.AnnotCircle

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

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