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.
Namespace: SMath.DrawingAssembly: SMath.Drawing (in SMath.Drawing.dll) Version: 1.2.0
public static RectangleF FillSvgPath(
this IGraphics g,
ColorBrush brush,
string path
)
<ExtensionAttribute>
Public Shared Function FillSvgPath (
g As IGraphics,
brush As ColorBrush,
path As String
) As RectangleF
public:
[ExtensionAttribute]
static RectangleF FillSvgPath(
IGraphics^ g,
ColorBrush^ brush,
String^ path
)
[<ExtensionAttribute>]
static member FillSvgPath :
g : IGraphics *
brush : ColorBrush *
path : string -> RectangleF
- g IGraphics
-
- brush ColorBrush
-
- path String
-
RectangleFIn 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).