Poppler.AnnotSquare

g GObject.Object GObject.Object Poppler.Annot Poppler.Annot GObject.Object->Poppler.Annot Poppler.AnnotMarkup Poppler.AnnotMarkup Poppler.Annot->Poppler.AnnotMarkup Poppler.AnnotSquare Poppler.AnnotSquare Poppler.AnnotMarkup->Poppler.AnnotSquare

Subclasses:

None

Methods

Inherited:

Poppler.AnnotMarkup (14), Poppler.Annot (12), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (doc, rect)

get_interior_color ()

set_interior_color (poppler_color)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Poppler.AnnotSquare(**kwargs)
Bases:

Poppler.AnnotMarkup

Abstract:

No

classmethod new(doc, rect)
Parameters:
Returns:

a newly created Poppler.AnnotSquare annotation

Return type:

Poppler.Annot

Creates a new Square annotation that will be located on rect when added to a page. See Poppler.Page.add_annot()

New in version 0.26.

get_interior_color()
Returns:

a new allocated Poppler.Color with the color values of self, or None. It must be freed with GLib.free() when done.

Return type:

Poppler.Color

Retrieves the interior color of self.

New in version 0.26.

set_interior_color(poppler_color)
Parameters:

poppler_color (Poppler.Color or None) – a Poppler.Color, or None

Sets the interior color of self.

New in version 0.26.