blob: ac72a34db57a719a70b7204de12a9529cdc40896 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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 extends App {
val image = circle(10).fillColor(Color.red) on circle(20) on circle(30)
image.draw
}
|