blob: e485b9a4e546355a7ed9fce03e1be54e8a7aa0f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import doodle.core._
import doodle.core.Image._
import doodle.syntax._
import doodle.jvm.Java2DFrame._
import doodle.backend.StandardInterpreter._
// To use this example, open the SBT console and type:
//
// Example.image.draw
object Example {
val image = circle(10).fillColor(Color.red) on circle(20) on circle(30)
def main(args: Array[String]): Unit = {
image.draw
}
}
|