Class: PipelineData
PathBuilding.PipelineData()
Pipeline data container
Constructor
new PipelineData()
Properties:
Name | Type | Description |
---|---|---|
sensorData | InkInput.SensorData | Pointer data (runtime pipeline only) |
smootherPoints | Array.<float> | Smoother points (runtime pipeline only) |
spline | PathBuilding.Spline | Control points |
interpolatedSpline | PathBuilding.InterpolatedSpline | Interpolated points |
shapesPath | PathBuilding.InkPath2D | Brush samples sequence |
convexPath | PathBuilding.InkPath2D | Convex hulls sequence |
mergedPath | PathBuilding.InkPath2D | Simple (non-self-intersecting) polygon (with holes) - sequence of 1 polygon |
last | PathBuilding.Spline|PathBuilding.InterpolatedSpline|PathBuilding.InkPath2D | Last available output from pipeline chain |
lastStage | PathBuilding.Pipeline.Stage | Stage of last available output from pipeline chain |
encoding | Serialization.TypedArrayCodec.Encoding | Applicable for JSON serialization, configures points serialization type |
Since:
- version 3.0.6
Methods
toJSON() → {JSON}
Serialize to JSON
Returns:
Pipeline output data
Type
JSON
(static) fromJSON(data) → PathBuilding.PipelineData
Deserialize from JSON
Parameters:
Name | Type | Description |
---|---|---|
data | JSON | Pipeline output data |
Returns:
PipelineData instance
Type