FromGraphicsPath
PathResourceConverter.FromGraphicsPath method
转换GraphicsPath实例到路径资源。
public static PathResource[] FromGraphicsPath(GraphicsPath graphicsPath, Size imageSize)
| 范围 | 类型 | 描述 |
|---|---|---|
| graphicsPath | GraphicsPath | 图形路径。 |
| imageSize | Size | 图像的大小。 |
返回值
路径资源。
例外
| 例外 | (健康)状况 |
|---|---|
| ArgumentNullException | graphicsPath一片空白。 |
也可以看看
- class PathResource
- class GraphicsPath
- struct Size
- class PathResourceConverter
- 命名空间 Aspose.Imaging.FileFormats.Tiff.PathResources
- 部件 Aspose.Imaging