class HexaPDF::Type::Annotations::Circle

Parent

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:

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,