Class: Idml::Elements::Group

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

Overview

<Group> — a container for grouped page items. Carries an ItemTransform and contains child page items (Rectangle, TextFrame, Polygon, Group, etc.).

Instance Method Summary collapse

Instance Method Details

#each_page_itemObject



35
36
37
38
39
40
41
# File 'lib/idml/elements/group.rb', line 35

def each_page_item(&)
  return enum_for(:each_page_item) unless block_given?

  [rectangle, text_frame, polygon, graphic_line, group].each do |col|
    col.each(&)
  end
end