public FillPath ( SVGRadialGradientBrush, radialGradientBrush, SVGGraphicsPath, graphicsPath ) : void | ||
radialGradientBrush | SVGRadialGradientBrush, | |
graphicsPath | SVGGraphicsPath, | |
return | void |
public void FillPath(SVGRadialGradientBrush radialGradientBrush,
SVGGraphicsPath graphicsPath)
{
graphicsFill.FillPath(radialGradientBrush, graphicsPath);
}
SVGGraphics::FillPath ( SVGColor, fillColor, SVGColor, strokePathColor, SVGGraphicsPath, graphicsPath ) : void | |
SVGGraphics::FillPath ( SVGColor, fillColor, SVGColor, strokePathColor, float width, SVGGraphicsPath, graphicsPath ) : void | |
SVGGraphics::FillPath ( SVGColor, fillColor, SVGGraphicsPath, graphicsPath ) : void | |
SVGGraphics::FillPath ( SVGGraphicsPath, graphicsPath ) : void | |
SVGGraphics::FillPath ( SVGGraphicsPath, graphicsPath, Vector2 points ) : void | |
SVGGraphics::FillPath ( SVGLinearGradientBrush, linearGradientBrush, SVGColor, strokePathColor, SVGGraphicsPath, graphicsPath ) : void | |
SVGGraphics::FillPath ( SVGLinearGradientBrush, linearGradientBrush, SVGColor, strokePathColor, float width, SVGGraphicsPath, graphicsPath ) : void | |
SVGGraphics::FillPath ( SVGLinearGradientBrush, linearGradientBrush, SVGGraphicsPath, graphicsPath ) : void | |
SVGGraphics::FillPath ( SVGRadialGradientBrush, radialGradientBrush, SVGColor, strokePathColor, SVGGraphicsPath, graphicsPath ) : void | |
SVGGraphics::FillPath ( SVGRadialGradientBrush, radialGradientBrush, SVGColor, strokePathColor, float width, SVGGraphicsPath, graphicsPath ) : void |
public void Render() { CreateGraphicsPath(); _render.SetStrokeLineCap(_paintable.strokeLineCap); _render.SetStrokeLineJoin(_paintable.strokeLineJoin); switch (_paintable.GetPaintType()) { case SVGPaintMethod.SolidGradientFill: { _render.FillPath(_paintable.fillColor.Value, _graphicsPath); Draw(); break; } case SVGPaintMethod.LinearGradientFill: { SVGLinearGradientBrush _linearGradBrush = _paintable.GetLinearGradientBrush(_graphicsPath); if (_linearGradBrush != null) { _render.FillPath(_linearGradBrush, _graphicsPath); } Draw(); break; } case SVGPaintMethod.RadialGradientFill: { SVGRadialGradientBrush _radialGradBrush = _paintable.GetRadialGradientBrush(_graphicsPath); if (_radialGradBrush != null) { _render.FillPath(_radialGradBrush, _graphicsPath); } Draw(); break; } case SVGPaintMethod.PathDraw: { Draw(); break; } } }