PolygonData Constructor (AnnotationBrush, AnnotationPen, AnnotationBrush, PointF, PointFCollection) |
Note: This API is now obsolete.
This overload is obsolete and may be removed in a future
release.
Creates a new instance of PolygonData specifying the outline, fill, shadow settings and
points of the polygon.
Namespace:
Atalasoft.Annotate
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax[ObsoleteAttribute("This constructor may be removed in a future release. Please use the constructor which takes a PointFCollection as its first argument.",
false)]
public PolygonData(
AnnotationBrush fill,
AnnotationPen outline,
AnnotationBrush shadow,
PointF shadowOffset,
PointFCollection points
)
<ObsoleteAttribute("This constructor may be removed in a future release. Please use the constructor which takes a PointFCollection as its first argument.",
false)>
Public Sub New (
fill As AnnotationBrush,
outline As AnnotationPen,
shadow As AnnotationBrush,
shadowOffset As PointF,
points As PointFCollection
)
Parameters
- fill
- Type: Atalasoft.Annotate.AnnotationBrush
The AnnotationBrush used to fill the annotation. - outline
- Type: Atalasoft.Annotate.AnnotationPen
The AnnotationPen used to draw the outline of the annotation. - shadow
- Type: Atalasoft.Annotate.AnnotationBrush
The AnnotationBrush used for a drop shadow. - shadowOffset
- Type: System.Drawing.PointF
The offset for the shadow. - points
- Type: Atalasoft.Annotate.PointFCollection
A PointFCollection containing the initial points for the polygon.
See Also