You are here: Start » AVL.NET » Invoke.DrawString

Invoke.DrawString

Draws a string on an image.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void DrawString
(
	Avl.Image ioImage,
	string inString,
	Avl.Location inLocation,
	Optional<Avl.CoordinateSystem2D> inLocationAlignment,
	Avl.Anchor2D inLocationAnchor,
	Avl.Pixel inColor,
	Avl.DrawingStyle inDrawingStyle,
	float inSize,
	float inOrientationAngle,
	Optional<Avl.Pixel> inBackgroundColor
)

Parameters

Name Type Range Default Description
ioImageAvl.Image
inStringstring
inLocationAvl.Location
inLocationAlignmentAtl.Optional<Avl.CoordinateSystem2D>
inLocationAnchorAvl.Anchor2DMiddleCenterDefault value: MiddleCenter.
inColorAvl.Pixel
inDrawingStyleAvl.DrawingStyle
inSizefloat12.0fHeight of a character. Default value: 12.0f.
inOrientationAnglefloat0.0fDefault value: 0.0f.
inBackgroundColorAtl.Optional<Avl.Pixel>

See also