Class: EideticRML::Styles::LabelStyle

Inherits:
TextStyle show all
Defined in:
lib/erml_styles.rb

Instance Method Summary collapse

Methods inherited from TextStyle

#apply, #text_align

Methods included from HasColor

#color

Methods inherited from Style

for_name, #from_points, #id, #initialize, #initialize_copy, register

Methods included from EideticRML::Support

#from_units, parse_measurement, parse_measurement_pts, #to_units

Constructor Details

This class inherits a constructor from EideticRML::Styles::Style

Instance Method Details

#angle(value = nil) ⇒ Object



228
229
230
231
# File 'lib/erml_styles.rb', line 228

def angle(value=nil)
  return @angle || 0 if value.nil?
  @angle = value.to_f
end