Page 1 of 1

MapSeries gradient angle has no effect

Posted: Thu Jul 14, 2011 2:35 pm
by 16558106
Hi,

in latest VCL version 2011.03.30407 Pro under Delphi XE the following property has not effect any more:

MapSeries.Shapes[0].Gradient.Angle:=X

The drawing result is only dependent (overwritten) on MapSeries.Shapes[0].Gradient.Direction

The "angle" property worked fine in the previous versions!

Any idea?

Thanks
Jo

Re: MapSeries gradient angle has no effect

Posted: Tue Jul 19, 2011 11:13 am
by yeray
Hello jo,

You are right. I could reproduce it so I've added it to the defect list to be revised for future releases (TV52015668).
In the meanwhile I'm afraid you can only use the predefined gradient directions (gdTopBottom, gdBottomTop, gdLeftRight, gdRightLeft, gdFromCenter, gdFromTopLeft, gdFromBottomLeft, gdRadial, gdDiagonalUp and gdDiagonalDown). For example:

Code: Select all

MapSeries.Shapes[0].Gradient.Direction:=gdRightLeft;