Click or drag to resize

AnnotationBrush Constructor (PointF, PointF, 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(
	PointF point1,
	PointF point2,
	Color color1,
	Color color2
)

Parameters

point1
Type: System.DrawingPointF
The starting point of the gradient.
point2
Type: System.DrawingPointF
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