Beispiel #1
0
 /*********************************************************************************/
 public SVGConicalGradientBrush(SVGConicalGradientElement conicalGradElement)
 {
     _transform          = new SVGMatrix();
     _conicalGradElement = conicalGradElement;
     Initialize();
     CreateFill();
 }
 /*********************************************************************************/
 public SVGConicalGradientBrush(SVGConicalGradientElement conicalGradElement)
 {
     _fill.transform = new SVGMatrix();
     _conicalGradElement = conicalGradElement;
     Initialize();
     CreateFill();
 }
Beispiel #3
0
 public SVGConicalGradientBrush(SVGConicalGradientElement conicalGradElement, Rect bounds, SVGMatrix matrix, Rect viewport)
 {
     _viewport           = viewport;
     _transform          = matrix;
     _conicalGradElement = conicalGradElement;
     Initialize();
     CreateFill(bounds);
 }
        public SVGConicalGradientBrush(SVGConicalGradientElement conicalGradElement, Rect bounds, SVGMatrix matrix)
        {
            _transform          = matrix;
            _conicalGradElement = conicalGradElement;
            Initialize();

            //        SetGradientVector(bounds, matrix);
            CreateFill();
        }
        public SVGConicalGradientBrush(SVGConicalGradientElement conicalGradElement, Rect bounds, SVGMatrix matrix)
        {
            _transform = matrix;
            _conicalGradElement = conicalGradElement;
            Initialize();

            //        SetGradientVector(bounds, matrix);
            CreateFill();
        }
Beispiel #6
0
 public void AppendConicalGradient(SVGConicalGradientElement conicalGradElement)
 {
     if (_conicalGradList.ContainsKey(conicalGradElement.id))
     {
         _conicalGradList[conicalGradElement.id] = conicalGradElement;
     }
     else
     {
         _conicalGradList.Add(conicalGradElement.id, conicalGradElement);
     }
 }
 public void AppendConicalGradient(SVGConicalGradientElement conicalGradElement)
 {
     if(_conicalGradList.ContainsKey(conicalGradElement.id))
     {
         _conicalGradList[conicalGradElement.id] = conicalGradElement;
     } else {
         _conicalGradList.Add(conicalGradElement.id, conicalGradElement);
     }
 }