Class: Idml::Elements::Polygon

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/idml/elements/polygon.rb

Overview

<Polygon> — a polygonal page item. Carries fill/stroke attributes and a PathPointArray defining the vertices.

Instance Method Summary collapse

Instance Method Details

#geometric_boundsObject



50
51
52
# File 'lib/idml/elements/polygon.rb', line 50

def geometric_bounds
  @geometric_bounds ||= properties.first&.first_geometry&.bounding_box
end