Click or drag to resize

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

Adds text lines to rendering queue.

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

Parameters

lines
Type: System.Collections.GenericIListString
The text lines.
pos
Type: NeoAxisVector2F
The text position.
horizontalAlign
Type: NeoAxisEHorizontalAlignment
The text horizontal align.
verticalAlign
Type: NeoAxisEVerticalAlignment
The text vertical align.
textVerticalIndention
Type: SystemSingle
The vertical intention between lines.
color
Type: NeoAxisColorValue
The text color.
options (Optional)
Type: NeoAxisCanvasRendererAddTextOptions
See Also