Class: CTioga2::Graphics::Styles::StrokeStyle
- Inherits:
-
LineStyle
- Object
- BasicStyle
- LineStyle
- CTioga2::Graphics::Styles::StrokeStyle
- Defined in:
- lib/ctioga2/graphics/styles/drawable.rb
Overview
This class represents all the stylistic information to stroke a Tioga path.
Direct Known Subclasses
Constant Summary
Constants inherited from BasicStyle
BasicStyle::AllStyles, BasicStyle::OldAttrAccessor
Instance Method Summary collapse
-
#set_stroke_style(t) ⇒ Object
Sets the stroke style to a FigureMaker object, t.
Methods inherited from LineStyle
Methods inherited from BasicStyle
alias_for, attr_accessor, attribute_type, attribute_types, attributes, deprecated_attribute, from_hash, inherited, #instance_variable_defined?, options_hash, #set_from_hash, sub_style, sub_styles, #to_hash, typed_attribute, #update_from_other
Instance Method Details
#set_stroke_style(t) ⇒ Object
Sets the stroke style to a FigureMaker object, t.
55 56 57 58 |
# File 'lib/ctioga2/graphics/styles/drawable.rb', line 55 def set_stroke_style(t) t.stroke_color = @color if @color super end |