classPixelStitch::PixelGrid

sys::Obj
  fwt::Widget
    fwt::Canvas
      PixelStitch::PixelGrid
BACKGROUND_LAYER

Int BACKGROUND_LAYER()

DRAW_LAYER

Int DRAW_LAYER()

addNewPixelSquareToPixelMap

Void addNewPixelSquareToPixelMap(Point p, Color? c, Int layer)

addPointToPan

Void addPointToPan(Point p)

adjustZoom

Void adjustZoom(Int delta, Point? canvasPoint := ...)

backgroundColor

Color backgroundColor

beginCropping

Void beginCropping()

belt

ColorSelectorBelt belt

brush1

Color brush1 := Color.black

countSquaresInLayer

Int countSquaresInLayer(Int layer)

crop

GridCrop? crop

defaultBackgroundColor

Color defaultBackgroundColor()

defaultBackgroundNullColor

Color defaultBackgroundNullColor()

drawModal

DrawModal? drawModal

getCenterSquareCoordinate

Point getCenterSquareCoordinate()

getSquaresAtPoint

PixelSquare[]? getSquaresAtPoint(Point p)

imgDown

Image imgDown := ...

imgLeft

Image imgLeft := ...

imgLoad

Image imgLoad := ...

imgRight

Image imgRight := ...

imgSave

Image imgSave := Image.<ctor>(`fan://icons/x16/save.png`)

imgSaveAs

Image imgSaveAs := Image.<ctor>(`fan://icons/x16/copy.png`)

imgUp

Image imgUp := ...

imgZoom

Image imgZoom := ...

isCropped

Bool isCropped()

isPanning

Bool isPanning := false

loadGrid

Void loadGrid()

make

new make()

mapCanvasToCoordinateSystem

Point mapCanvasToCoordinateSystem(Point in)

maxPixelResolution

Int maxPixelResolution()

Menu menu()

minPixelResolution

Int minPixelResolution()

mouseDragStartPoint

Point? mouseDragStartPoint

name

Str name := "Unnamed Pixel Stitch Project"

onPaint

virtual override Void onPaint(Graphics g)

pan

Point pan := Point.<ctor>(0, 0)

panToSquareCoordinate

Void panToSquareCoordinate(Point p)

parentWindow

Window? parentWindow

pixelMap

Point:PixelSquare[] pixelMap := [:].with() |[Obj:Obj?]->Void| { ... }

pixelResolution

Int pixelResolution := 20

prefSize

virtual override Size prefSize(Hints hints := Hints.defVal)

removeCropLayer

Void removeCropLayer()

removeSquaresAtLayer

Void removeSquaresAtLayer(Int layer)

removeSquaresAtPoint

Bool removeSquaresAtPoint(Point p)

removeSquaresAtPointAndLayer

Bool removeSquaresAtPointAndLayer(Point p, Int layer)

saveGrid

Void saveGrid()

sortSquares

Void sortSquares()

updateCropLayer

Void updateCropLayer()