Click or drag to resize

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.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public AnnotationBrush(
	Rectangle rect,
	Color color1,
	Color color2,
	LinearGradientMode 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