Blockbench Reference Docs
    Preparing search index...

    Namespace Painter

    A global namespace containing various functionality for Blockbench's 2D and 3D paint tools and texture editor

    Variables

    brushChanges
    current
    currentPixel
    default_brush_presets
    erase_mode
    lock_alpha
    mirror_painting
    selection

    Functions

    blendColors
    combineColors
    edit
    editCircle
    editSquare
    getAlphaMatrix
    getBlendModeCompositeOperation
    getCanvas
    getMirrorElement
    getPixelColor
    loadBrushPreset
    modifyCanvasSection
    openBrushOptions
    scanCanvas
    setAlphaMatrix
    updateNslideValues