Module: Graffle::Group

Includes:
AbstractGraphic, Builders, Container
Defined in:
lib/graffle/stereotypes.rb

Overview

What you get when you group graphics in the UI.

Instance Attribute Summary

Attributes included from AbstractGraphic

#container

Class Method Summary collapse

Instance Method Summary collapse

Methods included from AbstractGraphic

#any_content_lines, #any_note_lines, #before?, #delete_yourself, graffle_class_matches?, #graffle_id, #graffle_id_is, #has_any_content?, #has_any_note?, #has_line_label_content?, #has_line_label_note?, #has_line_note?, #has_note?, #has_shaped_graphic_content?, #has_shaped_graphic_note?, #is_labeled_line?, #is_line_label?, #notes, #origin, #with_notes

Methods included from Builders

#abstract_graphic, #annotation, classed, #document, #group, #line_graphic, #line_label, raw, #shaped_graphic, #sheet, #text

Methods included from Container

#delete_graphic, #find_by_content, #find_by_id, stereotype_children_of, #with

Class Method Details

.takes_on(hash) ⇒ Object

:nodoc:



496
497
498
499
500
501
# File 'lib/graffle/stereotypes.rb', line 496

def self.takes_on(hash)  # :nodoc: 
  if AbstractGraphic.takes_on(hash, self)
    Container.stereotype_children_of(hash)
    true
  end
end

Instance Method Details

#graphicsObject

The visible objects that were grouped.



492
493
494
# File 'lib/graffle/stereotypes.rb', line 492

def graphics
  self['Graphics']
end