[]
        
(Showing Draft Content)

C1.Android.Core.Svg.C1SvgHelper.DrawSvg

DrawSvg Method

DrawSvg(Canvas, C1SvgDoc, Drawable, C1Rect?)

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

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

The context where the Svg is drawn.

C1SvgDoc doc

The document to render.

Drawable currentColor

The current color.

C1Rect? renderBox

The rectangle in layout coordinates where the Svg is drawn