[]
        
(Showing Draft Content)

C1.WinUI.Core.Svg.C1SvgHelper.DrawSvg

DrawSvg Method

DrawSvg(CanvasDrawingSession, C1SvgDoc, Brush, Rect?)

Renders a C1.WebStandards.Svg.C1SvgDoc into the specified drawingContext.

Declaration
public static void DrawSvg(this CanvasDrawingSession drawingContext, C1SvgDoc doc, Brush currentColor, Rect? renderBox = null)
Public Shared Sub DrawSvg(drawingContext As CanvasDrawingSession, doc As C1SvgDoc, currentColor As Brush, Optional renderBox As Rect? = Nothing)
Parameters
Type Name Description
CanvasDrawingSession drawingContext

The context where the Svg is drawn.

C1SvgDoc doc

The document to render.

Brush currentColor

The current color.

Rect? renderBox

The rectangle in layout coordinates where the Svg is drawn