Poppler.AnnotSquare¶
- Subclasses:
 None
Methods¶
- Inherited:
 Poppler.AnnotMarkup (14), Poppler.Annot (14), GObject.Object (37)
- Structs:
 
class  | 
  | 
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
None
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Class Details¶
- class Poppler.AnnotSquare(**kwargs)¶
 - Bases:
 - Abstract:
 No
- classmethod new(doc, rect)¶
 - Parameters:
 doc (
Poppler.Document) – aPoppler.Documentrect (
Poppler.Rectangle) – aPoppler.Rectangle
- Returns:
 a newly created
Poppler.AnnotSquareannotation- Return type:
 
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.Colorwith the color values of self, orNone. It must be freed withGLib.free() when done.- Return type:
 
Retrieves the interior color of self.
New in version 0.26.
- set_interior_color(poppler_color)¶
 - Parameters:
 poppler_color (
Poppler.ColororNone) – aPoppler.Color, orNone
Sets the interior color of self.
New in version 0.26.