Class: Poppler::AnnotFreeText
- Inherits:
-
AnnotMarkup
- Object
- Annot
- AnnotMarkup
- Poppler::AnnotFreeText
- Defined in:
- (unknown)
Overview
An annotation for free text.
Since 25.06 this type supports g_autoptr
Instance Method Summary collapse
-
#callout_line ⇒ Poppler::AnnotCalloutLine
Retrieves a Poppler::AnnotCalloutLine of four or six numbers specifying a callout line attached to the poppler_annot.
-
#font_color ⇒ Poppler::Color
Gets the font color.
-
#font_color=(color) ⇒ nil
Sets the font color.
-
#font_desc ⇒ Poppler::FontDescription
Gets the font description (i.e. font family name, style, weight, stretch and size).
-
#font_desc=(font_desc) ⇒ nil
Sets the font description (i.e. font family name, style, weight, stretch and size).
-
#initialize(doc, rect) ⇒ Poppler::Annot
constructor
Creates a new Free Text annotation that will be located on rect when added to a page.
-
#quadding ⇒ Poppler::AnnotFreeTextQuadding
Retrieves the justification of the text of poppler_annot.
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 Free Text annotation that will be
located on rect when added to a page. See
poppler_page_add_annot(). It initially has no content. Font family, size and
color are initially undefined and must be set, see
poppler_annot_free_text_set_font_desc() and
poppler_annot_free_text_set_font_color().
Instance Method Details
#callout_line ⇒ Poppler::AnnotCalloutLine
Retrieves a Poppler::AnnotCalloutLine of four or six numbers specifying a callout
line attached to the poppler_annot.
#font_color ⇒ Poppler::Color
Gets the font color.
#font_color=(color) ⇒ nil
Sets the font color.
#font_desc ⇒ Poppler::FontDescription
Gets the font description (i.e. font family name, style, weight, stretch and size).
no font description set.
#font_desc=(font_desc) ⇒ nil
Sets the font description (i.e. font family name, style, weight, stretch and size).
#quadding ⇒ Poppler::AnnotFreeTextQuadding
Retrieves the justification of the text of poppler_annot.