Click or drag to resize

WpfPointBaseAnnotationGeometryFromPoints Method

Returns a Geometry object from an array of points and line information.

Namespace:  Atalasoft.Annotate.Wpf
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public static Geometry GeometryFromPoints(
	Point[] points,
	WpfFreehandLineType lineType,
	bool isClosed,
	bool isFilled
)

Parameters

points
Type: System.WindowsPoint
An array of points for the object.
lineType
Type: Atalasoft.Annotate.WpfWpfFreehandLineType
The type of line used to connect the points.
isClosed
Type: SystemBoolean
Indicates whether the figure is closed.
isFilled
Type: SystemBoolean
Indicates whether the figure is filled.

Return Value

Type: Geometry
A Geometry for the points.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the points array is null.
See Also