Click or drag to resize

CanvasRendererUtilityAddTextLinesWithShadow(Viewport, FontComponent, Double, IListString, Rectangle, EHorizontalAlignment, EVerticalAlignment, ColorValue, NullableVector2) Method


Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static void AddTextLinesWithShadow(
	Viewport viewport,
	FontComponent font,
	double fontSize,
	IList<string> lines,
	Rectangle rectangle,
	EHorizontalAlignment horizontalAlign,
	EVerticalAlignment verticalAlign,
	ColorValue color,
	Vector2? shadowOffset = null
)

Parameters

viewport  Viewport
 
font  FontComponent
 
fontSize  Double
 
lines  IListString
 
rectangle  Rectangle
 
horizontalAlign  EHorizontalAlignment
 
verticalAlign  EVerticalAlignment
 
color  ColorValue
 
shadowOffset  NullableVector2  (Optional)
 
See Also