/*********************************************************************************/ public SVGRadialGradientBrush(SVGRadialGradientElement radialGradElement) { _fill.transform = new SVGMatrix(); _radialGradElement = radialGradElement; Initialize(); CreateFill(); }
/*********************************************************************************/ public SVGRadialGradientBrush(SVGRadialGradientElement radialGradElement) { _transform = SVGMatrix.identity; _radialGradElement = radialGradElement; Initialize(); CreateFill(); }
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 void AppendRadialGradient(SVGRadialGradientElement radialGradElement) { if (_radialGradList.ContainsKey(radialGradElement.id)) { _radialGradList[radialGradElement.id] = radialGradElement; } else { _radialGradList.Add(radialGradElement.id, radialGradElement); } }
public void AppendRadialGradient(SVGRadialGradientElement radialGradElement) { if(_radialGradList.ContainsKey(radialGradElement.id)) { _radialGradList[radialGradElement.id] = radialGradElement; } else { _radialGradList.Add(radialGradElement.id, radialGradElement); } }