You are here: Start » AVL.NET » AVS.DrawStrings_SingleColor Method

AVS.DrawStrings_SingleColor Method

Draws strings (text) on an image with a single color.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void DrawStrings_SingleColor
(
	AvlNet.Image inImage,
	NullableRef<IList<NullableRef<string>>> inStrings,
	NullableRef<IList<AvlNet.Location?>> inLocations,
	AvlNet.CoordinateSystem2D? inLocationAlignment,
	AvlNet.Anchor2D inLocationAnchor,
	AvlNet.Pixel inColor,
	AvlNet.DrawingStyle inDrawingStyle,
	float inSize,
	float inOrientationAngle,
	bool inForceRgb,
	AvlNet.Pixel? inBackgroundColor,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inStringsAvlNet.NullableRef<System.Collections.Generic.IList<AvlNet.NullableRef<string>>>{ }Strings to be drawn. Default value: { }.
inLocationsAvlNet.NullableRef<System.Collections.Generic.IList<AvlNet.Location?>>{ }Center position of strings. Default value: { }.
inLocationAlignmentAvlNet.CoordinateSystem2D?
inLocationAnchorAvlNet.Anchor2DMiddleCenterDefault value: MiddleCenter.
inColorAvlNet.Pixel
inDrawingStyleAvlNet.DrawingStyleDrawingStyle ( DrawingMode: HighQuality Opacity: 1.0f Thickness: 1.0f Filled: False PointShape: Nil PointSize: 1.0f )Default value: DrawingStyle ( DrawingMode: HighQuality Opacity: 1.0f Thickness: 1.0f Filled: False PointShape: Nil PointSize: 1.0f ).
inSizefloat<10.0f, INF>16.0fHeight of a character in pixels. Default value: 16.0f.
inOrientationAnglefloat0.0fOrientation of text in degrees. Default value: 0.0f.
inForceRgbboolTrueFilter will convert monochromatic image to RGB if needed. Default value: True.
inBackgroundColorAvlNet.Pixel?Color of pixels drawn on image in text row. Default value: atl::NIL.
outImageAvlNet.ImageOutput image.

Function Overrides

See also