background() deprecated, replace with clear() (#101)

This commit is contained in:
Abe Pazos
2020-05-16 18:00:39 +02:00
committed by GitHub
parent 7c9c87ea3f
commit b6065b7198
28 changed files with 43 additions and 43 deletions

View File

@@ -25,7 +25,7 @@ fun main() {
val circlePoints = points.map { Circle(Vector2(350.0, 100.0) + it, 3.0) }
extend {
drawer.background(ColorRGBa.BLACK)
drawer.clear(ColorRGBa.BLACK)
drawer.stroke = null
drawer.fill = ColorRGBa.PINK