PolygonData Constructor (AnnotationBrush, AnnotationPen, AnnotationBrush, PointF, Boolean) |
Creates a new instance of PolygonData specifying the outline, fill, shadow settings, and
translucency.
Namespace:
Atalasoft.Annotate
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 2026.2.0.0.42 (.NET 4.6.2, x86)
Syntaxpublic PolygonData(
AnnotationBrush fill,
AnnotationPen outline,
AnnotationBrush shadow,
PointF shadowOffset,
bool translucent
)
Public Sub New (
fill As AnnotationBrush,
outline As AnnotationPen,
shadow As AnnotationBrush,
shadowOffset As PointF,
translucent As Boolean
)
Parameters
- fill
- Type: Atalasoft.AnnotateAnnotationBrush
The AnnotationBrush used to fill the annotation. - outline
- Type: Atalasoft.AnnotateAnnotationPen
The AnnotationPen used to draw the outline of the annotation. - shadow
- Type: Atalasoft.AnnotateAnnotationBrush
The AnnotationBrush used for a drop shadow. - shadowOffset
- Type: System.DrawingPointF
The offset for the shadow. - translucent
- Type: SystemBoolean
Indicates if the annotation will be translucent, giving it a highlighter effect.
See Also