TCustomTeeGradient.RadialX
 
 
 

All Units  All Classes  Properties, Methods and Events  

TCustomTeeGradient.RadialX
TCustomTeeGradient

property RadialX: Integer;

Unit
TeCanvas

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

RadialX and 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-2013 © by Steema Software. All Rights Reserved.