Last active
April 16, 2020 03:59
-
-
Save EnesKaraosman/af456b4c30e49c7d8365ce877c46c4f3 to your computer and use it in GitHub Desktop.
Basic PacMan Shape demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HStack { | |
PacMan(endAngle: .degrees(270)) | |
.frame(width: 120, height: 120) | |
// PacMan için, içerisinde çizim yaptığımız | |
// (in rect: CGRect) bu frame' dir. | |
PacMan(endAngle: .degrees(270)) | |
.rotation(.degrees(45)) | |
.frame(width: 120, height: 120) | |
}.padding() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment