Axidraw

constructor(program: Program, paperSizeInMm: Vector2, drawBounds: Rectangle = program.drawer.bounds, fit: Vector2 = Vector2.ZERO)(source)

Parameters

fit

A Vector 2 specifying where inside drawBounds to draw the plot simulation. The default is Vector2.ZERO, which means centered. Use values between -1.0 and 1.0 for aligning to the left/top or to the right/bottom of drawBounds.