Method function IGDIPlus.IGPLinearGradientBrush.GetRectangle() : TGPRect
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Class: IGPLinearGradientBrush
Contents |
Syntax
Delphi:
function GetRectangle() : TGPRect;
C++ Builder:
TGPRect __fastcall GetRectangle();
Visual C++ (MFC):
GetRectangle();
Summary
Returns the rectangle that defines the boundaries of the gradient.
Description
Call this method to get the rectangle that defines the boundaries of the gradient. Remarks The rectangle defines the boundaries of the gradient in the following ways: The right and left sides of the rectangle form the boundaries of a horizontal gradient. The top and bottom sides form the boundaries of a vertical gradient. Two of the diagonally opposing corners lie on the boundaries of a diagonal gradient. In each of these cases, either side/corner may be on the starting boundary, depending on how the starting and ending points are passed to the constructor.