Click or drag to resize

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
)

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