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 | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inStrings | AvlNet.NullableRef<System.Collections.Generic.IList<AvlNet.NullableRef<string>>> | { } | Strings to be drawn. Default value: { }. | ||
inLocations | AvlNet.NullableRef<System.Collections.Generic.IList<AvlNet.Location?>> | { } | Center position of strings. Default value: { }. | ||
inLocationAlignment | AvlNet.CoordinateSystem2D? | ||||
inLocationAnchor | AvlNet.Anchor2D | MiddleCenter | Default value: MiddleCenter. | ||
inColor | AvlNet.Pixel | ||||
inDrawingStyle | AvlNet.DrawingStyle | DrawingStyle ( 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 ). | ||
inSize | float | <10.0f, INF> | 16.0f | Height of a character in pixels. Default value: 16.0f. | |
inOrientationAngle | float | 0.0f | Orientation of text in degrees. Default value: 0.0f. | ||
inForceRgb | bool | True | Filter will convert monochromatic image to RGB if needed. Default value: True. | ||
inBackgroundColor | AvlNet.Pixel? | Color of pixels drawn on image in text row. Default value: atl::NIL. | |||
outImage | AvlNet.Image | Output image. |