PathResourceConverter.FromGraphicsPath
PathResourceConverter.FromGraphicsPath method
将 GraphicsPath 实例转换为路径资源。
public static PathResource[] FromGraphicsPath(GraphicsPath graphicsPath, Size imageSize)
| 参数 | 类型 | 描述 |
|---|---|---|
| graphicsPath | GraphicsPath | 图形路径。 |
| imageSize | Size | 图像的大小。 |
返回值
路径资源。
异常
| 异常 | 条件 |
|---|---|
| ArgumentNullException | graphicsPath 为 null。 |
另请参见
- class PathResource
- class GraphicsPath
- struct Size
- class PathResourceConverter
- namespace Aspose.Imaging.FileFormats.Tiff.PathResources
- assembly Aspose.Imaging