You are here: Start » AVL.NET » AVL.DrawDimensionLines_TwoColors(AvlNet.Image, AvlNet.Segment2D?[], AvlNet.CoordinateSystem2D?, AvlNet.Pixel, AvlNet.Pixel, bool?[], AvlNet.DrawingStyle, float, float, AvlNet.MetricUnit, float, bool, AvlNet.Image)

AVL.DrawDimensionLines_TwoColors(AvlNet.Image, AvlNet.Segment2D?[], AvlNet.CoordinateSystem2D?, AvlNet.Pixel, AvlNet.Pixel, bool?[], AvlNet.DrawingStyle, float, float, AvlNet.MetricUnit, float, bool, AvlNet.Image)

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void DrawDimensionLines_TwoColors(
	AvlNet.Image inImage,
	AvlNet.Segment2D?[] inSegments,
	AvlNet.CoordinateSystem2D? inSegmentAlignment,
	AvlNet.Pixel inColorIfTrue,
	AvlNet.Pixel inColorIfFalse,
	bool?[] inConditions,
	AvlNet.DrawingStyle inDrawingStyle,
	float inHeadSize,
	float inScale,
	AvlNet.MetricUnit inMetricUnit,
	float inTextSize,
	bool inForceRgb,
	out AvlNet.Image outImage
)

Parameters

inImage
Type: AvlNet.Image
inSegments
Type: System.Nullable<AvlNet.Segment2D>
inSegmentAlignment
Type: System.Nullable<AvlNet.CoordinateSystem2D>
inColorIfTrue
Type: AvlNet.Pixel
inColorIfFalse
Type: AvlNet.Pixel
inConditions
Type: System.Nullable<System.Boolean>
inDrawingStyle
Type: AvlNet.DrawingStyle
inHeadSize
Type: System.Single
inScale
Type: System.Single
inMetricUnit
Type: AvlNet.MetricUnit
inTextSize
Type: System.Single
inForceRgb
Type: System.Boolean
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.

Examples

Example usage of the DrawDimensionLines_TwoColors on an empty image.

Errors

Error type Description
DomainError Inconsistent input array sizes in DrawDimensionLines_TwoColors.

See also