LinearGradientBrush::Rectangle Property

 

Gets a rectangular region that defines the starting and ending points of the gradient.

Namespace:   System.Drawing.Drawing2D
Assembly:  System.Drawing (in System.Drawing.dll)

public:
property RectangleF Rectangle {
	RectangleF get();
}

Property Value

Type: System.Drawing::RectangleF

A RectangleF structure that specifies the starting and ending points of the gradient.

The left side of the rectangle specifies the starting point of the linear gradient, and the right side of the rectangle specifies the endpoint.

.NET Framework
Available since 1.1
Return to top
Show: