ToGraphicsPath

PathResourceConverter.ToGraphicsPath method

Converts path resources to the GraphicsPath instance.

public static GraphicsPath ToGraphicsPath(PathResource[] pathResources, Size imageSize)
ParameterTypeDescription
pathResourcesPathResource[]The path resources.
imageSizeSizeSize of the image.

Return Value

The GraphicsPath instance.

Exceptions

exceptioncondition
ArgumentNullExceptionpathResources is null.

See Also