Class: Metro::Model::ScaleProperty
- Defined in:
- lib/metro/models/properties/scale_property.rb
Overview
A scale property maintains an x and y scaling factor.
A scale property also defines a ‘x_factor` property and a `y_factor` property which allows a more direct interface. Changing these values will update the scale the next time that it is used.
A scale is stored in the properties as a string representation and is converted into a Scale when it is retrieved within the system.
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