Class: HexaPDF::Type::Annotations::Circle
- Inherits:
-
SquareCircle
- Object
- Object
- Dictionary
- HexaPDF::Type::Annotation
- MarkupAnnotation
- SquareCircle
- HexaPDF::Type::Annotations::Circle
- Defined in:
- lib/hexapdf/type/annotations/circle.rb
Overview
A circle annotation displays an ellipse inside the annotation rectangle (the “circle” name defined by the PDF specification is a bit misleading).
Also see SquareCircle for more information.
Example:
#>pdf-small
doc.annotations.create_ellipse(doc.pages[0], 50, 50, a: 30, b: 20).
border_style(color: "hp-blue", width: 2, style: [3, 1]).
interior_color("hp-orange").
regenerate_appearance
See: PDF2.0 s12.5.6.8, HexaPDF::Type::Annotations::SquareCircle,
Constant Summary
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 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