Class: HexaPDF::Type::Annotations::Polyline
- Inherits:
-
PolygonPolyline
- Object
- Object
- Dictionary
- HexaPDF::Type::Annotation
- MarkupAnnotation
- PolygonPolyline
- HexaPDF::Type::Annotations::Polyline
- Defined in:
- lib/hexapdf/type/annotations/polyline.rb
Overview
A polyline annotation displays a polyline inside the annotation rectangle.
Also see PolygonPolyline for more information.
Example:
#>pdf-small
doc.annotations.create_polyline(doc.pages[0], 20, 20, 30, 70, 80, 60, 40, 30).
border_style(color: "hp-blue", width: 2, style: [3, 1]).
interior_color("hp-orange").
regenerate_appearance
See: PDF2.0 s12.5.6.9, HexaPDF::Type::Annotations::PolygonPolyline
Constant Summary
Constants included from LineEndingStyling
LineEndingStyling::LINE_ENDING_STYLE_MAP, LineEndingStyling::LINE_ENDING_STYLE_REVERSE_MAP
Constants included from DictionaryFields
DictionaryFields::Boolean, DictionaryFields::PDFByteString, DictionaryFields::PDFDate
Instance Attribute Summary
Attributes inherited from Object
#data, #document, #must_be_indirect
Method Summary
Methods inherited from PolygonPolyline
Methods included from LineEndingStyling
Methods included from InteriorColor
Methods included from BorderEffect
Methods included from BorderStyling
Methods inherited from HexaPDF::Type::Annotation
#appearance, #appearance_dict, #contents, #create_appearance, #flags, #must_be_indirect?, #opacity, #regenerate_appearance
Methods included from Utils::BitField
Methods inherited from Dictionary
#[], #[]=, define_field, define_type, #delete, #each, each_field, #empty?, field, #key?, #to_hash, type, #type
Methods inherited from Object
#<=>, #==, #cache, #cached?, #clear_cache, deep_copy, #deep_copy, #document?, #eql?, field, #gen, #gen=, #hash, #indirect?, #initialize, #inspect, make_direct, #must_be_indirect?, #null?, #oid, #oid=, #type, #validate, #value, #value=
Constructor Details
This class inherits a constructor from HexaPDF::Object