Poppler.AnnotStamp¶
- 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.AnnotStamp(**kwargs)¶
 - Bases:
 - Abstract:
 No
- classmethod new(doc, rect)¶
 - Parameters:
 doc (
Poppler.Document) – aPoppler.Documentrect (
Poppler.Rectangle) – aPoppler.Rectangle
- Returns:
 a newly created
Poppler.AnnotStampannotation- Return type:
 
Creates a new Stamp annotation that will be located on rect when added to a page. See
Poppler.Page.add_annot()New in version 22.07.0.
- get_icon()¶
 - Returns:
 the corresponding
Poppler.AnnotStampIconof the icon- Return type:
 
New in version 22.07.0.
- set_custom_image(image)¶
 - Parameters:
 image (
cairo.Surface) – an image cairo surface- Raises:
 - Returns:
 - Return type:
 
Sets the custom image of self to be image
New in version 22.07.0.
- set_icon(icon)¶
 - Parameters:
 icon (
Poppler.AnnotStampIcon) – thePoppler.AnnotStampIcontype of the icon
Sets the icon of self to be one of the predefined values in
Poppler.AnnotStampIconNew in version 22.07.0.