WpfRectangleAnnotation Constructor (Rect, AnnotationBrush, AnnotationPen, AnnotationBrush, Point) |
Creates a new instance of WpfRectangleAnnotation specifying its properties.
Namespace:
Atalasoft.Annotate.Wpf
Assembly:
Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public WpfRectangleAnnotation(
Rect rectangle,
AnnotationBrush fill,
AnnotationPen outline,
AnnotationBrush shadow,
Point shadowOffset
)
Public Sub New (
rectangle As Rect,
fill As AnnotationBrush,
outline As AnnotationPen,
shadow As AnnotationBrush,
shadowOffset As Point
)
Parameters
- rectangle
- Type: System.WindowsRect
The bounding rectangle of the annotation. - fill
- Type: Atalasoft.AnnotateAnnotationBrush
The brush used for filling the annotation. This can be null (Nothing in VB). - outline
- Type: Atalasoft.AnnotateAnnotationPen
The pen used to render the annotation outline. This can be null (Nothing in VB). - shadow
- Type: Atalasoft.AnnotateAnnotationBrush
The brush used for the annotation shadow. This can be null (Nothing in VB). - shadowOffset
- Type: System.WindowsPoint
The offset of the shadow.
See Also