canvas added from array
This commit is contained in:
parent
879e68d70d
commit
6a933768d9
@ -4,7 +4,7 @@ import util.Pos;
|
||||
import util.Rect;
|
||||
import kernel.ui.Pixel;
|
||||
|
||||
abstract Canvas(Array<Array<Pixel>>) to Array<Array<Pixel>>{
|
||||
abstract Canvas(Array<Array<Pixel>>) to Array<Array<Pixel>> from Array<Array<Pixel>>{
|
||||
inline public function new() {
|
||||
this = [[]];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user