@mocanvas/editor · constant

vecModelValidator

declare const vecModelValidator: ObjectValidator<ObjectValidatorType<{
    readonly x: Validator<number>;
    readonly y: Validator<number>;
    readonly z: Validator<number | undefined>;
}>>

A point: { x, y }, optionally with the pressure/z a freehand point carries.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.