Метод | Описание | |
---|---|---|
ColorPalette ( int squarePixelWidth, int numColumns ) : System | ||
GetColor ( ) : Color |
Gets the color of the currently hovered cell.
|
|
GetColor ( int row, int col ) : Color | ||
GetImage ( ) : Image | ||
SetColor ( Color c ) : void |
Sets the color of the currently hovered cell.
|
|
SetColor ( int row, int col, Color c ) : void | ||
SetHover ( int x, int y ) : void |
This function assumes the canvas has not been scaled on screen, or that (x, y) has been appropriately scaled.
|
|
UnHover ( ) : void |
Метод | Описание | |
---|---|---|
GenerateCanvas ( ) : void | ||
GenerateSwatches ( ) : void |
public ColorPalette ( int squarePixelWidth, int numColumns ) : System | ||
squarePixelWidth | int | |
numColumns | int | |
Результат | System |
public GetColor ( int row, int col ) : Color | ||
row | int | |
col | int | |
Результат | Color |
public SetColor ( int row, int col, Color c ) : void | ||
row | int | |
col | int | |
c | Color | |
Результат | void |
public SetHover ( int x, int y ) : void | ||
x | int | Mouse location x. |
y | int | Mouse location y. |
Результат | void |