@mocanvas/editor · constant

boxModelValidator

declare const boxModelValidator: ObjectValidator<ObjectValidatorType<{
    readonly x: Validator<number>;
    readonly y: Validator<number>;
    readonly w: Validator<number>;
    readonly h: Validator<number>;
}>>

A box: { x, y, w, h }.

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.