September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
|
|
@ -1,11 +1,10 @@
|
|||
import java.awt.image.*
|
||||
import java.awt.image.BufferedImage
|
||||
import java.io.File
|
||||
import javax.imageio.*
|
||||
import javax.imageio.ImageIO
|
||||
|
||||
internal class ArrayData(val dataArray: IntArray, val width: Int, val height: Int) {
|
||||
|
||||
constructor(width: Int, height: Int) : this(IntArray(width * height), width, height) {
|
||||
}
|
||||
constructor(width: Int, height: Int) : this(IntArray(width * height), width, height)
|
||||
|
||||
operator fun get(x: Int, y: Int) = dataArray[y * width + x]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue