PathResourceConverter.ToGraphicsPath

PathResourceConverter.ToGraphicsPath method

将路径资源转换为 GraphicsPath 实例。

public static GraphicsPath ToGraphicsPath(PathResource[] pathResources, Size imageSize)
参数类型描述
pathResourcesPathResource[]路径资源。
imageSizeSize图像的大小。

返回值

GraphicsPath 实例。

异常

异常条件
ArgumentNullExceptionpathResources 为 null。

另请参见