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
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(shape) | Constructs a new instance of the DataShape class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| matrix | [width: number, height: number] | undefined | ||
| matrix$ | readonly | Observable<[ width: number, height: number ] | undefined> | |
| nature | DataNature | undefined | ||
| nature$ | readonly | Observable<DataNature | undefined> | |
| orientation | DataOrientation | undefined | ||
| orientation$ | readonly | Observable<DataOrientation | undefined> |
Methods
| Method | Modifiers | Description |
|---|---|---|
| loadSchema(schema, quiet) | ||
| toSchema() |