Method function IGDIPlus.IGPLinearGradientBrush.GetRectangleF() : TGPRectF
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 GetRectangleF() : TGPRectF;
C++ Builder:
TGPRectF __fastcall GetRectangleF();
Visual C++ (MFC):
GetRectangleF();
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.