PathResourceConverter.FromGraphicsPath

PathResourceConverter.FromGraphicsPath method

GraphicsPath 实例转换为路径资源。

public static PathResource[] FromGraphicsPath(GraphicsPath graphicsPath, Size imageSize)
参数类型描述
graphicsPathGraphicsPath图形路径。
imageSizeSize图像的大小。

返回值

路径资源。

异常

异常条件
ArgumentNullExceptiongraphicsPath 为 null。

另请参见