Class: CTioga2::Graphics::Styles::FullTextStyle
- Inherits:
-
BaseTextStyle
- Object
- BasicStyle
- BaseTextStyle
- CTioga2::Graphics::Styles::FullTextStyle
- Defined in:
- lib/ctioga2/graphics/styles/texts.rb
Overview
The style of a full text object.
Direct Known Subclasses
Constant Summary
Constants inherited from BasicStyle
Instance Attribute Summary collapse
-
#color ⇒ Object
The color of the text.
-
#position ⇒ Object
The (horizontal) position with respect to a location.
Attributes inherited from BaseTextStyle
#alignement, #angle, #justification, #scale, #shift
Method Summary
Methods inherited from BaseTextStyle
Methods inherited from BasicStyle
attr_accessor, attributes, from_hash, #instance_variable_defined?, #set_from_hash, #to_hash, #update_from_other
Instance Attribute Details
#color ⇒ Object
The color of the text
86 87 88 |
# File 'lib/ctioga2/graphics/styles/texts.rb', line 86 def color @color end |
#position ⇒ Object
The (horizontal) position with respect to a location. You’ll seldom need that.
90 91 92 |
# File 'lib/ctioga2/graphics/styles/texts.rb', line 90 def position @position end |