views:

18

answers:

0

Consider rect has fill of linearGradient with two color with rotation of 112 degree.

I am following below steps to make it alive

  1. Make gradient vertically for that set the values for coordinates x1=0, y1=, x2=, y2=
  2. Using transform list values in gradientTransform. gradientTransform="rotate(angle, shapeWidth/2, shapeHeight/2)".

but this won't help to achieve as like as power point

I need to know how can I calculate coordinates values for corresponding angles

Any help much appreciated.

Thanks, shan