Class: Metro::Model::PositionProperty
- Defined in:
- lib/metro/models/properties/position_property.rb
Overview
A position property maintains a 2D Point.
A position property also defines an ‘x` property and a `y` property which allows a more direct interface.
A position is stored as a string in the properties and retrieved as a Point object.
Constant Summary
Constants included from Units
Instance Attribute Summary
Attributes inherited from Property
Instance Method Summary collapse
Methods inherited from Property
define_property, defined_properties, get, #get, get_or_set, gets, hash_with_default_to_nil, inherited, #initialize, properties, properties_hash, property, #set, set, sets
Constructor Details
This class inherits a constructor from Metro::Model::Property