Skip to main content

Class: InkToolCodec

Serialization.InkToolCodec()

Provides encode and decode functionality for ink tool configurations

Constructor

new InkToolCodec()

Extends

Methods

decode(input) → Serialization.InkToolInit

Parameters:
NameTypeDescription
inputUint8ArraySerialized data
Returns:

Decode result

Type

Serialization.InkToolInit

(async) encode(brush, dynamics, statics, blendMode) → {Uint8Array}

Parameters:
NameTypeDescription
brushRendering.Brush
dynamicsPathBuilding.PathPointSettings
staticsPathBuilding.PathPointProperties
blendModeRendering.BlendModeCustom composition operation descriptor
Returns:

Serialized data

Type

Uint8Array

Home