Skip to content

Instantly share code, notes, and snippets.

@zurche
Last active August 11, 2023 14:20
Show Gist options
  • Save zurche/bfc27f2c6be85729c5bd50e67af34e16 to your computer and use it in GitHub Desktop.
Save zurche/bfc27f2c6be85729c5bd50e67af34e16 to your computer and use it in GitHub Desktop.
cubicTo(
x1 = topLeftControlPoint1.x, // First Control Point X coordinate
y1 = topLeftControlPoint1.y, // First Control Point Y coordinate
x2 = topLeftControlPoint2.x, // Second Control Point X coordinate
y2 = topLeftControlPoint2.y, // Second Control Point Y coordinate
x3 = width.times(.25f), // Line End Point X coordinate
y3 = height.times(.02f) // Line End Point Y coordinate
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment