BaseGeneratorContext
abstract class BaseGeneratorContext(val deduplicateCommands: Boolean = true) : GeneratorContext(source)
Base implementation of GeneratorContext that collects commands in a list.
Inheritors
Properties
Link copied to clipboard
Link copied to clipboard
Distance tolerance used for org.openrndr.shape.Segment2D.adaptivePositions when approximating curves.
Link copied to clipboard
Minimum distance for two points to be considered distinct. Consecutive points with a distance smaller than this are considered duplicates and skipped.
Functions
Link copied to clipboard
Called at the beginning of a new contour.
Link copied to clipboard
Called at the beginning of a new layer.
Link copied to clipboard
Called at the beginning of a new shape.
Link copied to clipboard
Called at the end of a contour. Expected to disable the drawing tool, for example, lift pen, turn laser off, etc.
Link copied to clipboard
Called at the end of a composition.
Link copied to clipboard