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

AVS.DrawStrings_MultiColor Method

Draws strings (text) on an image with multiple colors.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void DrawStrings_MultiColor
(
	AvlNet.Image inImage,
	NullableRef<IList<NullableRef<string>>> inStrings,
	NullableRef<IList<AvlNet.Location?>> inLocations,
	AvlNet.CoordinateSystem2D? inLocationAlignment,
	AvlNet.Anchor2D inLocationAnchor,
	NullableRef<IList<AvlNet.Hash?>> inColorIds,
	NullableRef<IList<AvlNet.Pixel>> inPalette,
	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>>>{ }String to draw. Default value: { }.
inLocationsAvlNet.NullableRef<System.Collections.Generic.IList<AvlNet.Location?>>{ }Center point of each string to draw. Default value: { }.
inLocationAlignmentAvlNet.CoordinateSystem2D?
inLocationAnchorAvlNet.Anchor2DMiddleCenterDefault value: MiddleCenter.
inColorIdsAvlNet.NullableRef<System.Collections.Generic.IList<AvlNet.Hash?>>
inPaletteAvlNet.NullableRef<System.Collections.Generic.IList<AvlNet.Pixel>>{ Pixel ( X: 200.0f Y: 0.0f Z: 0.0f W: 0.0f ), Pixel ( X: 0.0f Y: 200.0f Z: 0.0f W: 0.0f ) }Default value: { Pixel ( X: 200.0f Y: 0.0f Z: 0.0f W: 0.0f ), Pixel ( X: 0.0f Y: 200.0f Z: 0.0f W: 0.0f ) }.
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