Class: TaskJuggler::Painter::PolyLine
- Defined in:
- lib/taskjuggler/Painter/BasicShapes.rb
Overview
A Polygon line element.
Constant Summary
Constants included from Primitives
TaskJuggler::Painter::Primitives::FillAndStrokeAttrs, TaskJuggler::Painter::Primitives::FillAttrs, TaskJuggler::Painter::Primitives::StrokeAttrs, TaskJuggler::Painter::Primitives::TextAttrs
Instance Method Summary collapse
-
#initialize(attrs) ⇒ PolyLine
constructor
Create a polygon line with the provided Points.
Methods inherited from Element
Methods included from Primitives
#circle, #color, #ellipse, #group, #line, #points, #polyline, #rect, #text
Methods included from SVGSupport
Constructor Details
#initialize(attrs) ⇒ PolyLine
Create a polygon line with the provided Points.
66 67 68 |
# File 'lib/taskjuggler/Painter/BasicShapes.rb', line 66 def initialize(attrs) super('polyline', [ :points ] + FillAndStrokeAttrs, attrs) end |