### ----------------------------------------------------
### -- PDF::ISO_32000
### -- Licenses: Artistic-2.0
### -- Authors: David Warring
### -- File: lib/ISO_32000/Table_179-Additional_entries_specific_to_text_markup_annotations.rakumod
### ----------------------------------------------------
use v6;
role ISO_32000::Table_179-Additional_entries_specific_to_text_markup_annotations {
    method Subtype {...};
    method QuadPoints {...};
}

=begin pod

=head1 Description

Table 179 – Additional entries specific to text markup annotations

=head1 Methods (Entries)

=head2 Subtype [name]
- (Required) The type of annotation that this dictionary describes; is Highlight, Underline, Squiggly, or StrikeOut for a highlight, underline, squiggly-underline, or strikeout annotation, respectively.

=head2 QuadPoints [array]
- (Required) An array of 8 × n numbers specifying the coordinates of n quadrilaterals in default user space. Each quadrilateral shall encompasses a word or group of contiguous words in the text underlying the annotation. The coordinates for each quadrilateral is given in the order
x1 y1 x2 y2 x3 y3 x4 y4
specifying the quadrilateral’s four vertices in counterclockwise order (see Figure 64). The text is oriented with respect to the edge connecting points (x1 , y1) and (x2 , y2).
The annotation dictionary’s AP entry, if present, takes precedence over QuadPoints; see Table 168 and 12.5.5, “Appearance Streams.”

=end pod


