Browse Source

README.md

Всеволод Левитан 1 month ago
parent
commit
9cfaa64808
1 changed files with 11 additions and 0 deletions
  1. 11 0
      README.md

+ 11 - 0
README.md

@@ -0,0 +1,11 @@
+```kotlin
+val square: Transforming = Square(0f,0f,1f)
+square.resize(2)
+square.rotate(RotateDirection.Clockwise, 1, 1)
+val rect: Transforming = Rect(0,0,1,1)
+rect.resize(2)
+rect.rotate(RotateDirection.Clockwise, 1, 1)
+val circle: Transforming = Circle(0f, 0f, 10f)
+circle.resize(2)
+circle.rotate(RotateDirection.Clockwise, 1, 1)
+```