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.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public static Geometry GeometryFromPoints(
Point[] points,
WpfFreehandLineType lineType,
bool isClosed,
bool isFilled
)
Public Shared Function GeometryFromPoints (
points As Point(),
lineType As WpfFreehandLineType,
isClosed As Boolean,
isFilled As Boolean
) As Geometry
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:
GeometryA Geometry for the points.
Exceptions See Also