TXGradientSampler.SimpleGradient

procedure SimpleGradient(StartPoint: TFloatPoint; StartColor: TColor32; EndPoint: TFloatPoint; EndColor: TColor32); virtual;

Description

With SimpleGradient then start point and end point of the gradient can be set along with a start color and end color at these points. Based on these values the center, radius and angle of the gradient is calculated.