/*********************************************************************************/
 public SVGRadialGradientBrush(SVGRadialGradientElement radialGradElement)
 {
     _fill.transform = new SVGMatrix();
     _radialGradElement = radialGradElement;
     Initialize();
     CreateFill();
 }
예제 #2
0
 /*********************************************************************************/
 public SVGRadialGradientBrush(SVGRadialGradientElement radialGradElement)
 {
     _transform         = SVGMatrix.identity;
     _radialGradElement = radialGradElement;
     Initialize();
     CreateFill();
 }
 /*********************************************************************************/
 public SVGRadialGradientBrush(SVGRadialGradientElement radialGradElement)
 {
     _fill.transform    = new SVGMatrix();
     _radialGradElement = radialGradElement;
     Initialize();
     CreateFill();
 }
예제 #4
0
 public SVGRadialGradientBrush(SVGRadialGradientElement radialGradElement, Rect bounds, SVGMatrix matrix, Rect viewport)
 {
     _viewport          = viewport;
     _transform         = matrix;
     _radialGradElement = radialGradElement;
     Initialize();
     CreateFill(bounds);
 }
     public SVGRadialGradientBrush(SVGRadialGradientElement radialGradElement, Rect bounds, SVGMatrix matrix)
     {
         _transform = matrix;
         _radialGradElement = radialGradElement;
         Initialize();
         
 //        SetGradientVector(bounds, matrix);
         CreateFill();
     }
        public SVGRadialGradientBrush(SVGRadialGradientElement radialGradElement, Rect bounds, SVGMatrix matrix)
        {
            _transform         = matrix;
            _radialGradElement = radialGradElement;
            Initialize();

            //        SetGradientVector(bounds, matrix);
            CreateFill();
        }
예제 #7
0
 public void AppendRadialGradient(SVGRadialGradientElement radialGradElement)
 {
     if (_radialGradList.ContainsKey(radialGradElement.id))
     {
         _radialGradList[radialGradElement.id] = radialGradElement;
     }
     else
     {
         _radialGradList.Add(radialGradElement.id, radialGradElement);
     }
 }
예제 #8
0
 public void AppendRadialGradient(SVGRadialGradientElement radialGradElement)
 {
     if(_radialGradList.ContainsKey(radialGradElement.id))
     {
         _radialGradList[radialGradElement.id] = radialGradElement;
     } else {
         _radialGradList.Add(radialGradElement.id, radialGradElement);
     }
 }