GraphicsExtensionsFillSvgPath Method

Fills an SVG path. The following instructions supported: hHmMlLaAqQcCtTsSvVzZ. Limitation: - Only one argument can be used for hHvV. Note: - Using of zZ have no sense as path will be rendered closed for filling automatically.

Definition

Namespace: SMath.Drawing
Assembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.4.0.0
C#
public static RectangleF FillSvgPath(
	this IGraphics g,
	ColorBrush brush,
	string path
)

Parameters

g  IGraphics
 
brush  ColorBrush
 
path  String
 

Return Value

RectangleF

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IGraphics. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also