RectangleData Constructor (RectangleF, AnnotationBrush, AnnotationPen, AnnotationBrush, PointF) |
Creates a new instance of RectangleData specifying the rectangle, fill, outline and
shadow settings.
Namespace:
Atalasoft.Annotate
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 2026.2.0.0.42 (.NET 4.6.2, x86)
Syntaxpublic RectangleData(
RectangleF rectangle,
AnnotationBrush fill,
AnnotationPen outline,
AnnotationBrush shadow,
PointF shadowOffset
)
Public Sub New (
rectangle As RectangleF,
fill As AnnotationBrush,
outline As AnnotationPen,
shadow As AnnotationBrush,
shadowOffset As PointF
)
Parameters
- rectangle
- Type: System.DrawingRectangleF
The rectangle for this annotation. - fill
- Type: Atalasoft.AnnotateAnnotationBrush
The AnnotationBrush used to fill this annotation. - outline
- Type: Atalasoft.AnnotateAnnotationPen
The AnnotationPen used to draw the outline of the annotation. - shadow
- Type: Atalasoft.AnnotateAnnotationBrush
The AnnotationBrush used for the drop shadow. - shadowOffset
- Type: System.DrawingPointF
The offset used to position the drop shadow.
See Also