QualityLineDrawer
A utility class for rendering high-quality line drawings, supporting customizable stroke styles, smooth rendering, and various line configurations including strips and loops.
Functions
Link copied to clipboard
fun drawLineLoops( drawContext: DrawContext, drawStyle: DrawStyle, strips: List<List<Vector2>>, corners: List<List<Boolean>>, fringeWidth: Double = 1.0)
Draws a series of closed line loops with the specified drawing context and style.
fun drawLineLoops( drawContext: DrawContext, drawStyle: DrawStyle, strips: List<List<Vector2>>, corners: List<List<Boolean>>, weights: List<Double>, fringeWidth: Double = 1.0)
Draws a series of closed line loops with the specified drawing context, style, and parameters.
Link copied to clipboard
fun drawLineStrips( drawContext: DrawContext, drawStyle: DrawStyle, strips: List<List<Vector2>>, corners: List<List<Boolean>>, fringeWidth: Double)
Draws a series of connected line strips with the specified drawing context and style.
fun drawLineStrips( drawContext: DrawContext, drawStyle: DrawStyle, strips: List<List<Vector2>>, corners: List<List<Boolean>>, weights: List<Double>, fringeWidth: Double)
Draws a series of connected line strips with specified drawing context, style, and parameters.