Back to API Reference
Class

LineRenderHelper

static
public static void DrawLine(float thickness)

Emits one decoration-line quad spanning [startX, endX] at baselineY + lineYOffset, sampling the underscore SDF column described by [uvLeft, uvRight] (use centerX..centerX for stretch segments and -sdfPadding..centerX / centerX..aspect+sdfPadding for end caps).

public static void DrawDot()

Emits one dot quad centered at (centerX, baselineY + lineYOffset), sized dotSize * aspect × dotSize where aspect is the bullet glyph's natural width/height ratio (typically ≈1). Samples the bullet glyph (U+2022) so the SDF gives a true round shape with antialiased edge. Falls back to a square dotSize×dotSize stretched-underscore mark when the resolved font has no bullet glyph or the atlas entry is missing.