LinearGradientBrush.Rectangle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a rectangular region that defines the starting and ending points of the gradient.
public:
property System::Drawing::RectangleF Rectangle { System::Drawing::RectangleF get(); };
public System.Drawing.RectangleF Rectangle { get; }
member this.Rectangle : System.Drawing.RectangleF
Public ReadOnly Property Rectangle As RectangleF
Property Value
A RectangleF structure that specifies the starting and ending points of the gradient.
Remarks
The left side of the rectangle specifies the starting point of the linear gradient, and the right side of the rectangle specifies the endpoint.