Package toxi.processing
Class DashedLineModifier
java.lang.Object
toxi.processing.DashedLineModifier
- All Implemented Interfaces:
Line2DRenderModifier
Line2DRenderModifier
implementation to draw a dashed line with
customizable step length.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ToxiclibsSupport gfx, ReadonlyVec2D a, ReadonlyVec2D b)
-
Field Details
-
length
public float length
-
-
Constructor Details
-
DashedLineModifier
public DashedLineModifier(float length) Constructs a new instance- Parameters:
length
- step length
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceLine2DRenderModifier
-