AnnotationBrush Constructor (Rectangle, Color, Color, LinearGradientMode) |
Creates a linear gradient brush with the bounding rectangle, starting and ending colors, and the gradient
orientation.
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(
Rectangle rect,
Color color1,
Color color2,
LinearGradientMode linearGradientMode
)
Public Sub New (
rect As Rectangle,
color1 As Color,
color2 As Color,
linearGradientMode As LinearGradientMode
)
Parameters
- rect
- Type: System.DrawingRectangle
The bounding rectangle of the linear gradient. - color1
- Type: System.DrawingColor
The starting color of the gradient. - color2
- Type: System.DrawingColor
The ending color of the gradient. - linearGradientMode
- Type: System.Drawing.Drawing2DLinearGradientMode
The orientation of the gradient.
See Also