Pixel Data JS - v0.28.0
    Preparing search index...

    Interface PixelWriterOptions

    interface PixelWriterOptions {
        accumulator?: PixelAccumulator;
        historyActionFactory?: (
            config: PixelEngineConfig,
            accumulator: PixelAccumulator,
            patch: PixelPatchTiles,
            after?: () => void,
            afterUndo?: () => void,
            afterRedo?: () => void,
            applyPatchTilesFn?: (
                target: PixelData32,
                tiles: PixelTile[],
                tileSize: number,
            ) => void,
        ) => HistoryAction;
        historyManager?: HistoryManager;
        maxHistorySteps?: number;
        pixelTilePool?: TilePool<PixelTile>;
        tileSize?: number;
    }
    Index

    Properties

    accumulator?: PixelAccumulator
    historyActionFactory?: (
        config: PixelEngineConfig,
        accumulator: PixelAccumulator,
        patch: PixelPatchTiles,
        after?: () => void,
        afterUndo?: () => void,
        afterRedo?: () => void,
        applyPatchTilesFn?: (
            target: PixelData32,
            tiles: PixelTile[],
            tileSize: number,
        ) => void,
    ) => HistoryAction
    historyManager?: HistoryManager
    maxHistorySteps?: number
    pixelTilePool?: TilePool<PixelTile>
    tileSize?: number