Constructor for the Blob class.
X-coordinate of the blob.
Y-coordinate of the blob.
Optional
angle: number = DEFAULT_ANGLEAngle of the blob.
Optional
fillColor: string = DEFAULT_FILL_COLORFill fillColor of the blob.
Optional
length: number = DEFAULT_LENGTHLength of the blob.
Optional
strokeWidth: number = DEFAULT_STROKE_WIDTHWidth of the blob's outline.
Optional
noise: number = DEFAULT_NOISEAmount of noise applied to the blob's outline.
Optional
strokeWidthFunction: ((x) => number) = ...Function to modulate the blob's outline width (default is sin function).
Optional
returnPoints: booleanWhether to return the points of the blob or not. Used by Tree07 only.
Keeping the range of the element so it could be hidden is not within working area
String representation of the polyline.
Represents a blob