You are here: Start » AVL.NET » AVL.DrawStrings_SingleColor(AvlNet.Image, string[], AvlNet.Location?[], AvlNet.CoordinateSystem2D?, AvlNet.Anchor2D, AvlNet.Pixel, AvlNet.DrawingStyle, float, float, bool, AvlNet.Pixel?, AvlNet.Image)
AVL.DrawStrings_SingleColor(AvlNet.Image, string[], AvlNet.Location?[], AvlNet.CoordinateSystem2D?, AvlNet.Anchor2D, AvlNet.Pixel, AvlNet.DrawingStyle, float, float, bool, AvlNet.Pixel?, AvlNet.Image)
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, string[] inStrings, AvlNet.Location?[] inLocations, AvlNet.CoordinateSystem2D? inLocationAlignment, AvlNet.Anchor2D inLocationAnchor, AvlNet.Pixel inColor, AvlNet.DrawingStyle inDrawingStyle, float inSize, float inOrientationAngle, bool inForceRgb, AvlNet.Pixel? inBackgroundColor, out AvlNet.Image outImage )
Parameters
- inImage
- Type: AvlNet.Image
Input image - inStrings
- Type: System.String
Strings to be drawn, or null. - inLocations
- Type: System.Nullable<AvlNet.Location>
Center position of strings, or null. - inLocationAlignment
- Type: System.Nullable<AvlNet.CoordinateSystem2D>
- inLocationAnchor
- Type: AvlNet.Anchor2D
- inColor
- Type: AvlNet.Pixel
- inDrawingStyle
- Type: AvlNet.DrawingStyle
- inSize
- Type: System.Single
Height of a character in pixels - inOrientationAngle
- Type: System.Single
Orientation of text in degrees - inForceRgb
- Type: System.Boolean
Filter will convert monochromatic image to RGB if needed - inBackgroundColor
- Type: System.Nullable<AvlNet.Pixel>
Color of pixels drawn on image in text row, or null. - outImage
- Type: AvlNet.Image
Output image
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Description
The operation draws a strings on the inImage aligning the inLocationAnchor location of the text at the inLocations of the inImage.
The height of the font is fixed and equals 16 pixels.
Examples
Example usage of the DrawStrings_SingleColor on an empty image.
