Skip to content

Instantly share code, notes, and snippets.

@EnesKaraosman
Last active April 16, 2020 03:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EnesKaraosman/af456b4c30e49c7d8365ce877c46c4f3 to your computer and use it in GitHub Desktop.
Save EnesKaraosman/af456b4c30e49c7d8365ce877c46c4f3 to your computer and use it in GitHub Desktop.
Basic PacMan Shape demo
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