Type alias TOIHistoryBackendChanges

TOIHistoryBackendChanges: {
    added?: OIStroke[];
    erased?: OIStroke[];
    matrix?: {
        matrix: TMatrixTransform;
        strokes: OIStroke[];
    };
    replaced?: {
        newStrokes: OIStroke[];
        oldStrokes: OIStroke[];
    };
    rotate?: {
        angle: number;
        center: TPoint;
        strokes: OIStroke[];
    }[];
    scale?: {
        origin: TPoint;
        scaleX: number;
        scaleY: number;
        strokes: OIStroke[];
    }[];
    translate?: {
        strokes: OIStroke[];
        tx: number;
        ty: number;
    }[];
}

Type declaration

Remarks

used to send messages to the backend on undo or redo

Generated using TypeDoc