AnnotationBrush Constructor (Point, Point, Color, Color) |
Creates a linear gradient brush using the specified start point, end point, start color and end color.
Namespace:
Atalasoft.Annotate
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public AnnotationBrush(
Point point1,
Point point2,
Color color1,
Color color2
)
Public Sub New (
point1 As Point,
point2 As Point,
color1 As Color,
color2 As Color
)
Parameters
- point1
- Type: System.DrawingPoint
The starting point of the gradient. - point2
- Type: System.DrawingPoint
The ending point of the gradient. - color1
- Type: System.DrawingColor
The starting color of the gradient. - color2
- Type: System.DrawingColor
The ending color of the gradient.
See Also