Reference IBoxGradientBrush
Declared in Codebot.Render.Graphics.pas on line 323
IBoxGradientBrush is a feathered rounded rectangle useful for drop shadows and highlights. The near stop color is used inside the rectangle and the far stop color outside of it. The stop offsets are not used.
IBoxGradientBrush = interface(IGradientBrush)
public
function GetRect: TRectF;
procedure SetRect(const Value: TRectF);
function GetRadius: Float;
procedure SetRadius(Value: Float);
function GetFeather: Float;
procedure SetFeather(Value: Float);
{ The rectangle defining the gradient }
property Rect: TRectF read GetRect write SetRect;
{ The corner radius of the rectangle }
property Radius: Float read GetRadius write SetRadius;
{ How blurry the border of the rectangle is }
property Feather: Float read GetFeather write SetFeather;
end;See also
Float in Codebot.System.pas
TRectF in Codebot.Graphics.Types.pas