TeCanvas.TCustomTeeGradient.RadialX
 
 
 


TCustomTeeGradient.RadialX
TCustomTeeGradient

property RadialX: Integer;

Unit
TeCanvas

Description
When gradient Direction property is gdRadial, RadialX and TCustomTeeGradient.RadialY properties are used as an offset in pixels to displace the gradient radial center.

RadialX and TCustomTeeGradient.RadialY can be positive or negative.

Example:

Uses TeCanvas;

Chart1.Gradient.Visible := True;
Chart1.Gradient.StartColor := clBlue;
Chart1.Gradient.Direction := gdRadial ;
Chart1.Gradient.RadialX := -50 ;
Chart1.Gradient.RadialY := 20 ;




Send us Help Feedback. Copyright 1995-2024 © by Steema Software. All Rights Reserved.