x1 = area_width - ((semi_circle_radius / 2) + (border_width / 2))
y1 = (area_height / 2) - (semi_circle_radius / 2)
x2 = area_width + ((semi_circle_radius / 2) - (border_width / 2))
y2 = (area_height / 2) + (semi_circle_radius / 2)
start_angle = 270
sweep_angle = -180
Last active
January 28, 2021 07:32
-
-
Save akexorcist/517976432e703dbcfeb023eae874653b to your computer and use it in GitHub Desktop.
Build Coupon UI - Right edge semi circle formula (https://medium.com/@akexorcist/how-we-built-developer-friendly-coupon-ui-in-android-part-2-78933730d335)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment