Click or drag to resize

CanvasRendererAddTextLines(FontComponent, Double, IListString, Vector2F, EHorizontalAlignment, EVerticalAlignment, Single, ColorValue, CanvasRendererAddTextOptions) Method

Adds text lines to rendering queue.

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public abstract void AddTextLines(
	FontComponent font,
	double fontSize,
	IList<string> lines,
	Vector2F pos,
	EHorizontalAlignment horizontalAlign,
	EVerticalAlignment verticalAlign,
	float textVerticalIndention,
	ColorValue color,
	CanvasRendererAddTextOptions options = CanvasRendererAddTextOptions.PixelAlign
)

Parameters

font  FontComponent
The font.
fontSize  Double
 
lines  IListString
The text lines.
pos  Vector2F
The text position.
horizontalAlign  EHorizontalAlignment
The text horizontal align.
verticalAlign  EVerticalAlignment
The text vertical align.
textVerticalIndention  Single
The vertical intention between lines.
color  ColorValue
The text color.
options  CanvasRendererAddTextOptions  (Optional)
 
See Also