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

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void DrawSegments_SingleColor(
	AvlNet.Image inImage,
	AvlNet.Segment2D?[] inSegments,
	AvlNet.CoordinateSystem2D? inSegmentAlignment,
	AvlNet.Pixel inColor,
	AvlNet.DrawingStyle inDrawingStyle,
	AvlNet.MarkerType inMarkerType,
	float inMarkerSize,
	bool inForceRgb,
	out AvlNet.Image outImage
)

Parameters

inImage
Type: AvlNet.Image
inSegments
Type: System.Nullable<AvlNet.Segment2D>
inSegmentAlignment
Type: System.Nullable<AvlNet.CoordinateSystem2D>
inColor
Type: AvlNet.Pixel
inDrawingStyle
Type: AvlNet.DrawingStyle
inMarkerType
Type: AvlNet.MarkerType
inMarkerSize
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.

Description

The operation draws an array of segments on the inImage using common drawing parameters for all of them. Segments may exceed the image dimensions - those will be drawn partially or not at all, but the filter execution will succeed.

Examples

Example usage of the DrawSegments_SingleColor on an empty image.

See also