-
I'm interesting in drawing curve line, so my question "exist completed things for drawing curve line in korge?" |
Beta Was this translation helpful? Give feedback.
Answered by
MairwunNx
May 31, 2021
Replies: 2 comments
-
I've found |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hmm, I found this :)), this code generates curved line by three points val p0 = Point(0, 450)
val p1 = Point(300, 450)
val p2 = Point(300, 10)
graphics()
.scale(3)
.stroke(Colors.WHITE, StrokeInfo(thickness = 2.0)) {
quad(p0, p1, p2)
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
soywiz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hmm, I found this :)), this code generates curved line by three points