Class: VectorSalad::StandardShapes::Difference
- Inherits:
-
Clip
- Object
- BasicShape
- Clip
- VectorSalad::StandardShapes::Difference
- Defined in:
- lib/vector_salad/standard_shapes/difference.rb
Overview
Subtract the contained shapes.
Instance Attribute Summary
Attributes inherited from BasicShape
Instance Method Summary collapse
-
#initialize(**options, &block) ⇒ Difference
constructor
The first path is used as the subject, subsequent paths are subtracted from the first.
Methods inherited from Clip
Methods inherited from BasicShape
#flip, #flip_x, #flip_y, #jitter, #move, #rotate, #scale, #to_a, #to_bezier_path, #to_cubic_path, #to_multi_path, #to_path, #to_simple_path, #to_svg
Constructor Details
#initialize(**options, &block) ⇒ Difference
The first path is used as the subject, subsequent paths are subtracted from the first.
22 23 24 |
# File 'lib/vector_salad/standard_shapes/difference.rb', line 22 def initialize(**, &block) super(:difference, **, &block) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class VectorSalad::DSL