Click or drag to resize

WpfPointBaseAnnotation.GeometryFromPoints 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.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public static Geometry GeometryFromPoints(
	Point[] points,
	WpfFreehandLineType lineType,
	bool isClosed,
	bool isFilled
)

Parameters

points
Type:System.Windows.Point[]
An array of points for the object.
lineType
Type: Atalasoft.Annotate.Wpf.WpfFreehandLineType
The type of line used to connect the points.
isClosed
Type: System.Boolean
Indicates whether the figure is closed.
isFilled
Type: System.Boolean
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