drawHorizontal

open fun drawHorizontal(context: DrawContext, left: Float, right: Float, centerY: Float, thicknessScale: Float = 1.0f, opacity: Float = 1.0f)

A convenience function for draw that draws the LineComponent horizontally.