Class: Sketch::Builder::Path

Inherits:
Polyline show all
Defined in:
lib/sketch/builder/path.rb

Constant Summary

Constants included from Geometry::DSL::Polyline

Geometry::DSL::Polyline::BuildError

Instance Method Summary collapse

Methods inherited from Polyline

#first, #initialize, #last, #method_missing, #push

Methods included from Geometry::DSL::Polyline

#close, #closed?, #down, #horizontal_to, #left, #move_to, #move_x, #move_y, #right, #start_at, #up, #vertical_to

Constructor Details

This class inherits a constructor from Sketch::Builder::Polyline

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Sketch::Builder::Polyline

Instance Method Details

#evaluate(&block) ⇒ Path

Evaluate a block and return a new Sketch::Builder::Path

Returns:



10
11
12
13
# File 'lib/sketch/builder/path.rb', line 10

def evaluate(&block)
		super
		Sketch::Path.new(*@elements)
end