PolygonData Constructor (PointF[], AnnotationBrush, AnnotationPen, AnnotationBrush, PointF, Boolean) |
Creates a new instance of PolygonData specifying the a set of points, outline, fill and
shadow settings.
Namespace:
Atalasoft.Annotate
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntaxpublic PolygonData(
PointF[] points,
AnnotationBrush fill,
AnnotationPen outline,
AnnotationBrush shadow,
PointF shadowOffset,
bool translucent
)
Public Sub New (
points As PointF(),
fill As AnnotationBrush,
outline As AnnotationPen,
shadow As AnnotationBrush,
shadowOffset As PointF,
translucent As Boolean
)
Parameters
- points
- Type:System.Drawing.PointF[]
An array of PointF objects specifying the initial points of the polygon.
- 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. - translucent
- Type: System.Boolean
Indicates if the annotation will be translucent, giving it a highlighter effect.
See Also