Reference IGradientStop
Declared in Codebot.Render.Graphics.pas on line 261
IGradientStop is used by gradient brushes
IGradientStop = interface
public
function GetOffset: Float;
procedure SetOffset(Value: Float);
function GetColor: TColorF;
procedure SetColor(const Value: TColorF);
{ Where the stop is along the gradient, from 0 to 1 }
property Offset: Float read GetOffset write SetOffset;
{ The color at the stop }
property Color: TColorF read GetColor write SetColor;
end;See also
Float in Codebot.System.pas
TColorF in Codebot.Graphics.Types.pas