Click or drag to resize

RectangleAnnotation Constructor (RectangleF, AnnotationBrush, AnnotationPen, AnnotationBrush, PointF)

Creates a new instance of RectangleAnnotation specifying the rectangle, fill, outline and shadow options.

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 RectangleAnnotation(
	RectangleF rectangle,
	AnnotationBrush fill,
	AnnotationPen outline,
	AnnotationBrush shadow,
	PointF shadowOffset
)

Parameters

rectangle
Type: System.DrawingRectangleF
The rectangle for the annotation.
fill
Type: Atalasoft.AnnotateAnnotationBrush
The fill for the annotation.
outline
Type: Atalasoft.AnnotateAnnotationPen
The outline for the annotation.
shadow
Type: Atalasoft.AnnotateAnnotationBrush
The shadow brush for the annotation.
shadowOffset
Type: System.DrawingPointF
The offset for the shadow.
See Also