Class: Poppler::AnnotStamp
- Inherits:
-
AnnotMarkup
- Object
- Annot
- AnnotMarkup
- Poppler::AnnotStamp
- Defined in:
- (unknown)
Overview
An annotation for stamp.
Since 25.06 this type supports g_autoptr
Instance Method Summary collapse
-
#custom_image=(image) ⇒ Boolean
Sets the custom image of poppler_annot to be image.
-
#icon ⇒ Poppler::AnnotStampIcon
The corresponding Poppler::AnnotStampIcon of the icon.
-
#icon=(icon) ⇒ nil
Sets the icon of poppler_annot to be one of the predefined values in Poppler::AnnotStampIcon.
-
#initialize(doc, rect) ⇒ Poppler::Annot
constructor
Creates a new Stamp annotation that will be located on rect when added to a page.
Methods inherited from AnnotMarkup
#date, #external_data, #get_popup_rectangle, #has_popup, #label, #label=, #opacity, #opacity=, #popup=, #popup_is_open, #popup_is_open=, #popup_rectangle=, #reply_to, #subject
Methods inherited from Annot
#annot_type, #border_width=, #color, #color=, #contents, #contents=, #flags, #flags=, #get_border_width, #get_rectangle, #modified, #name, #page_index, #rectangle=
Constructor Details
#initialize(doc, rect) ⇒ Poppler::Annot
Creates a new Stamp annotation that will be
located on rect when added to a page. See
poppler_page_add_annot()
Instance Method Details
#custom_image=(image) ⇒ Boolean
Sets the custom image of poppler_annot to be image
#icon ⇒ Poppler::AnnotStampIcon
Returns the corresponding Poppler::AnnotStampIcon of the icon.
#icon=(icon) ⇒ nil
Sets the icon of poppler_annot to be one of the predefined values in Poppler::AnnotStampIcon