[]
        
(Showing Draft Content)

C1.iOS.Core.Svg.C1SvgHelper.DrawSvg

DrawSvg Method

DrawSvg(CGContext, C1SvgDoc, CALayer, CGRect?)

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

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

The context where the Svg is drawn.

C1SvgDoc doc

The document to render.

CALayer currentColor

The current color.

CGRect? renderBox

The rectangle in layout coordinates where the Svg is drawn