CanvasSvgStrokeDashArrayAttributeSetDashes Method (Int32, Single, CanvasSvgLengthUnits) |
Namespace: Microsoft.Graphics.Canvas.Svg
public void SetDashes( int startIndex, float[] dashes, CanvasSvgLengthUnits units )
This API is only available when running on Windows 10 build 15063 (Creators Update) or greater.
This overload is for setting dashes which use one consistent unit mode. If the dashes have different unit modes, use SetDashes(Int32, Single, CanvasSvgLengthUnits).
Existing dashes not updated by this method are preserved. The array is resized larger if necessary to accomodate the new dashes.