PolygonAnnotation Constructor (PointF, AnnotationBrush, AnnotationPen, AnnotationBrush, PointF, Boolean) |
Creates a new instance of PolygonAnnotation specifying the points, fill, outline, shadow,
shadow offset and translucent properties.
Namespace:
Atalasoft.Annotate.UI
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public PolygonAnnotation(
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.DrawingPointF
An array of PointF objects specifying the initial points of the polygon in annotation space.
- 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
A value indicating whether the annotation will be translucent, giving it a highlighter
effect.
See Also