美文网首页
scratch-gui->State->scratchPaint

scratch-gui->State->scratchPaint

作者: hanxianshe_9530 | 来源:发表于2019-10-29 11:25 被阅读0次
{
  scratchPaint: {
    mode: 'SELECT',
    bitBrushSize: 10,
    bitEraserSize: 40,
    brushMode: {
      brushSize: 10
    },
    color: {
      eyeDropper: {
        active: false,
        previousTool: null
      },
      fillColor: '#9966FF',
      fillColor2: null,
      gradientType: 'SOLID',
      strokeColor: '#000',
      strokeWidth: 4
    },
    clipboard: {
      items: [],
      pasteOffset: 0
    },
    cursor: 'default',
    eraserMode: {
      brushSize: 40
    },
    fillBitmapShapes: true,
    fillMode: {
      gradientType: null,
      colorIndex: 0
    },
    font: 'Sans Serif',
    format: null,
    hoveredItemId: null,
    layout: {
      rtl: false
    },
    modals: {
      fillColor: false,
      strokeColor: false
    },
    selectedItems: [],
    textEditTarget: null,
    undo: {
      stack: [],
      pointer: -1
    },
    viewBounds: [
      'Matrix',
      1,
      0,
      0,
      1,
      0,
      0
    ],
    zoomLevels: {}
  }
}

网友评论

      本文标题:scratch-gui->State->scratchPaint

      本文链接:https://www.haomeiwen.com/subject/yvuwvctx.html