Click or drag to resize

PolygonAnnotation Constructor (PointFCollection, AnnotationBrush, AnnotationPen, AnnotationBrush, PointF, Boolean)

Creates a new instance of PolygonAnnotation specifying the point collection, fill, outline, shadow, shadow offset and translucent properties.

Namespace:  Atalasoft.Annotate.UI
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public PolygonAnnotation(
	PointFCollection points,
	AnnotationBrush fill,
	AnnotationPen outline,
	AnnotationBrush shadow,
	PointF shadowOffset,
	bool translucent
)

Parameters

points
Type: Atalasoft.AnnotatePointFCollection
A PointFCollection containing the initial points for 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