Class: BrushApplier
PathBuilding.Pipeline.BrushApplier(brush)
For each sample of the interpolated spline the BrushApplier creates a transformation based on the sample data and transforms the brush prototype.
Constructor
new BrushApplier(brush)
Parameters:
Name | Type | Description |
---|---|---|
brush | Rendering.2D.Brush2D |
Since:
- version 3.0
Extends
Methods
process(input, typeopt, lastSegmentopt)
Invokes input processing of particular implementation
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
input | PathBuilding.Pipeline.Input | Newly added stroke data that must be processed | ||
type | PathBuilding.Pipeline.SegmentType | <optional> | DataSequenceProcessor.SegmentType.INTEGRAL | Input type |
lastSegment | boolean | <optional> | true | Applicable for SegmentType.ADDITION only, describe end of the input |
Overrides:
reset()
Resets the processor to its initial state
Overrides:
Type Definitions
Input
BrushApplier input type
Type:
Output
BrushApplier output type
Type:
PipelineStage
Type:
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
index | int | <optional> | 5 | |
previous | PathBuilding.Pipeline.SplineInterpolator | |||
next | PathBuilding.Pipeline.ConvexHullChainProducer | <optional> |