PapersDocument.AnnotationStamp¶
- Subclasses:
 None
Methods¶
- Inherited:
 PapersDocument.AnnotationMarkup (11), PapersDocument.Annotation (19), GObject.Object (37)
- Structs:
 
class  | 
  | 
  | 
|
  | 
Virtual Methods¶
- Inherited:
 
Properties¶
Signals¶
- Inherited:
 
Fields¶
- Inherited:
 
Class Details¶
- class PapersDocument.AnnotationStamp(**kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
- classmethod new(page)¶
 - Parameters:
 page (
PapersDocument.Page) – aPapersDocument.Page- Return type:
 
Creates a new stamp annotation. ATM only the custom image type via
PapersDocument.AnnotationStamp.set_surfaceis implemented, other stamps (draft, etc.) are not.New in version 48.0.
- get_surface()¶
 - Returns:
 the custom cairo surface of the stamp, if it exists.
- Return type:
 
Set the custom cairo surface of the stamp.
New in version 48.0.
- set_surface(surface)¶
 - Parameters:
 surface (
cairo.Surface) – acairo.Surface
Set the custom cairo surface of the stamp.
New in version 48.0.