Class: MotionPlot::TextStyle
- Inherits:
-
Object
- Object
- MotionPlot::TextStyle
- Defined in:
- lib/motion-plot/utilities/text_style.rb
Class Method Summary collapse
Class Method Details
.cpt_text_style(style) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/motion-plot/utilities/text_style.rb', line 3 def self.cpt_text_style(style) text_style = CPTMutableTextStyle.textStyle text_style.color = style.color text_style.fontName = style.font_name text_style.fontSize = style.font_size text_style end |