class CTioga2::Graphics::Styles::StrokeStyle

This class represents all the stylistic information to stroke a Tioga path.

Public Instance Methods

set_stroke_style(t) click to toggle source

Sets the stroke style to a FigureMaker object, t.

# File lib/ctioga2/graphics/styles/drawable.rb, line 58
def set_stroke_style(t)
  t.stroke_color = @color if @color
  t.line_cap = @cap if @cap
  super
end