Skip to content

About new Fill Bucket #4

@fukhaos

Description

@fukhaos

Thats amazing feature
and works fine
but I have a few questions:

  • how I use when I touch (get the touch Point)?
  • how disable the brush, when I using the fill (canvas.brush = null, dont works)?
  • and how I change the brush to erase ?
var canvas:GraffitiCanvas = new GraffitiCanvas(860, 570);
canvas.x = int((1024-mCanvas.width)/2);
canvas.y = 160;
canvas.overlay = bitmap; 
Starling.current.nativeStage.addChild(canvas);
roundBrush = new RoundBrush(30, 0xff0000, 1);

canvas.brush = roundBrush;
canvas.fill(new Point(100,10), Color.AQUA, true, true, 2);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions