Edit

Bagikan melalui


LinearGradientBrush.Rectangle Property

Definition

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.

Applies to