workflow.datashape.md

January 18, 2023 ยท View on GitHub

Home > @datashaper/workflow > DataShape

DataShape class

Signature:

export declare class DataShape extends Observed implements DataShapeSchema 

Extends: Observed

Implements: DataShapeSchema

Constructors

ConstructorModifiersDescription
(constructor)(shape)Constructs a new instance of the DataShape class

Properties

PropertyModifiersTypeDescription
matrix[width: number, height: number] | undefined
matrix$readonlyObservable<[ width: number, height: number ] | undefined>
natureDataNature | undefined
nature$readonlyObservable<DataNature | undefined>
orientationDataOrientation | undefined
orientation$readonlyObservable<DataOrientation | undefined>

Methods

MethodModifiersDescription
loadSchema(schema, quiet)
toSchema()