Class: SlideField::ObjectRules::GBase

Inherits:
SBase
  • Object
show all
Defined in:
lib/slidefield/objects/_base.rb

Direct Known Subclasses

Image, Rect, Text

Instance Method Summary collapse

Methods inherited from Base

#accepted_children, #default_value, get, #initialize, #matching_properties, #optional_properties, #properties_names, #properties_types, #required_properties, #requirements_of_child, #type_of_property

Constructor Details

This class inherits a constructor from SlideField::ObjectRules::Base

Instance Method Details

#rulesObject



22
23
24
25
26
27
# File 'lib/slidefield/objects/_base.rb', line 22

def rules
  property :position, :point, [0,0]
  property :z_order, :integer, 0

  super
end