PathResourceConverter.FromGraphicsPath

PathResourceConverter.FromGraphicsPath method

Converts the GraphicsPath instance to path resources.

public static PathResource[] FromGraphicsPath(GraphicsPath graphicsPath, Size imageSize)
ParameterTypeDescription
graphicsPathGraphicsPathThe graphics path.
imageSizeSizeSize of the image.

Return Value

The path resources.

Exceptions

exceptioncondition
ArgumentNullExceptiongraphicsPath is null.

See Also