Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Frame draw for pages

  • Loading branch information...
commit 4a2508a4a82b6572380b0e131870e1fb9bb57094 1 parent 9973f84
@napthats authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/main/scala/Page.scala
View
2  src/main/scala/Page.scala
@@ -38,6 +38,8 @@ class Page private (var x: Double, var y: Double, var size: Double, val color: I
val paint = new Paint()
paint.setColor(color)
canvas.drawRect(winX, winY, winX + winSize, winY + winSize, paint)
+ paint.setColor(Color.WHITE)
+ canvas.drawRect(winX + winSize * 0.05, winY + winSize * 0.05, winX + winSize * 0.95, winY + winSize * 0.95, paint)
}
}

0 comments on commit 4a2508a

Please sign in to comment.
Something went wrong with that request. Please try again.