Class: Poppler::AnnotSquare

Inherits:
AnnotMarkup show all
Defined in:
(unknown)

Instance Method Summary collapse

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, #color, #color=, #contents, #contents=, #flags, #flags=, #get_rectangle, #modified, #name, #page_index, #rectangle=

Constructor Details

#initialize(doc, rect) ⇒ Poppler::Annot

Creates a new Square annotation that will be located on rect when added to a page. See poppler_page_add_annot()

Parameters:

Instance Method Details

#interior_colorPoppler::Color

Retrieves the interior color of poppler_annot.

Returns:

  • (Poppler::Color)

    a new allocated Poppler::Color with the color values of poppler_annot, or nil. It must be freed with g_free() when done.

#interior_color=(poppler_color) ⇒ nil

Sets the interior color of poppler_annot.

Parameters:

Returns:

  • (nil)