new (pal:Map<Int, Int>)
DST_COL:Array<Vec>
PALETTE_SIZE:Int
SRC_COL:Array<Vec>
TEST_ALPHA:Bool
TEST_APPROX:Bool
setPalette (pal:Map<Int, Int>):Void