You are here: Start » AVL.NET » AVL.DrawStrings_TwoColors(AvlNet.Image, string[], AvlNet.Location?[], AvlNet.CoordinateSystem2D?, AvlNet.Anchor2D, AvlNet.Pixel, AvlNet.Pixel, bool?[], AvlNet.DrawingStyle, float, float, bool, AvlNet.Pixel?, AvlNet.Image)
AVL.DrawStrings_TwoColors(AvlNet.Image, string[], AvlNet.Location?[], AvlNet.CoordinateSystem2D?, AvlNet.Anchor2D, AvlNet.Pixel, AvlNet.Pixel, bool?[], AvlNet.DrawingStyle, float, float, bool, AvlNet.Pixel?, AvlNet.Image)
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void DrawStrings_TwoColors( AvlNet.Image inImage, string[] inStrings, AvlNet.Location?[] inLocations, AvlNet.CoordinateSystem2D? inLocationAlignment, AvlNet.Anchor2D inLocationAnchor, AvlNet.Pixel inColorIfTrue, AvlNet.Pixel inColorIfFalse, bool?[] inConditions, AvlNet.DrawingStyle inDrawingStyle, float inSize, float inOrientationAngle, bool inForceRgb, AvlNet.Pixel? inBackgroundColor, out AvlNet.Image outImage )
Parameters
- inImage
- Type: AvlNet.Image
- inStrings
- Type: System.String
- inLocations
- Type: System.Nullable<AvlNet.Location>
- inLocationAlignment
- Type: System.Nullable<AvlNet.CoordinateSystem2D>
- inLocationAnchor
- Type: AvlNet.Anchor2D
- inColorIfTrue
- Type: AvlNet.Pixel
- inColorIfFalse
- Type: AvlNet.Pixel
- inConditions
- Type: System.Nullable<System.Boolean>
- inDrawingStyle
- Type: AvlNet.DrawingStyle
- inSize
- Type: System.Single
- inOrientationAngle
- Type: System.Single
- inForceRgb
- Type: System.Boolean
- inBackgroundColor
- Type: System.Nullable<AvlNet.Pixel>
- outImage
- Type: AvlNet.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_TwoColors on an empty image.
Errors
| Error type | Description |
|---|---|
| DomainError | Inconsistent input array sizes in DrawStrings_TwoColors. |
