FromGraphicsPath

PathResourceConverter.FromGraphicsPath method

Converts the GraphicsPath instance to path resources.

public static PathResource[] FromGraphicsPath(GraphicsPath graphicsPath, Size imageSize)
Parameter Type Description
graphicsPath GraphicsPath The graphics path.
imageSize Size Size of the image.

Return Value

The path resources.

Exceptions

exception condition
ArgumentNullException graphicsPath is null.

See Also