Class: InkToolCodec
Serialization.InkToolCodec()
Provides encode and decode functionality for ink tool configurations
Constructor
new InkToolCodec()
Extends
Methods
decode(input) → Serialization.InkToolInit
Parameters:
Name | Type | Description |
---|---|---|
input | Uint8Array | Serialized data |
Returns:
Decode result
Type
(async) encode(brush, dynamics, statics, blendMode) → {Uint8Array}
Parameters:
Name | Type | Description |
---|---|---|
brush | Rendering.Brush | |
dynamics | PathBuilding.PathPointSettings | |
statics | PathBuilding.PathPointProperties | |
blendMode | Rendering.BlendMode | Custom composition operation descriptor |
Returns:
Serialized data
Type
Uint8Array