PolygonAnnotation Constructor (AnnotationPen, AnnotationBrush, 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 PolygonAnnotation specifying the outline, fill, shadow settings and
points of the polygon.
Namespace:
Atalasoft.Annotate.UI
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 PolygonAnnotation(
AnnotationPen outline,
AnnotationBrush fill,
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 (
outline As AnnotationPen,
fill As AnnotationBrush,
shadow As AnnotationBrush,
shadowOffset As PointF,
points As PointFCollection
)
Parameters
- outline
- Type: Atalasoft.AnnotateAnnotationPen
The AnnotationPen used to draw the outline of the annotation. - fill
- Type: Atalasoft.AnnotateAnnotationBrush
The AnnotationBrush used to fill the annotation. - shadow
- Type: Atalasoft.AnnotateAnnotationBrush
The AnnotationBrush used for a drop shadow. - shadowOffset
- Type: System.DrawingPointF
The offset for the shadow. - points
- Type: Atalasoft.AnnotatePointFCollection
A PointFCollection containing the initial points for the polygon in annotation
space.
See Also