Poppler.AnnotStamp¶
- Subclasses:
None
Methods¶
- Inherited:
- 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.Document
rect (
Poppler.Rectangle
) – aPoppler.Rectangle
- Returns:
a newly created
Poppler.AnnotStamp
annotation- 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.AnnotStampIcon
of 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.AnnotStampIcon
type of the icon
Sets the icon of self to be one of the predefined values in
Poppler.AnnotStampIcon
New in version 22.07.0.