PathResourceConverter Class
Summary: Converts PathResource to GraphicsPath and vice versa.
Module: aspose.imaging.fileformats.tiff.pathresources
Full Name: aspose.imaging.fileformats.tiff.pathresources.PathResourceConverter
Aspose.Imaging Version: 24.7.0
Methods
Name | Description |
---|---|
from_graphics_path(graphics_path, image_size) | Converts the GraphicsPath instance to path resources. |
to_graphics_path(path_resources, image_size) | Converts path resources to the GraphicsPath instance. |
Method: from_graphics_path(graphics_path, image_size) [static]
from_graphics_path(graphics_path, image_size)
Converts the GraphicsPath instance to path resources.
Parameters:
Parameter | Type | Description |
---|---|---|
graphics_path | GraphicsPath | The graphics path. |
image_size | Size | Size of the image. |
Returns
Type | Description |
---|---|
PathResource[] | The path resources. |
Method: to_graphics_path(path_resources, image_size) [static]
to_graphics_path(path_resources, image_size)
Converts path resources to the GraphicsPath instance.
Parameters:
Parameter | Type | Description |
---|---|---|
path_resources | PathResource[] | The path resources. |
image_size | Size | Size of the image. |
Returns
Type | Description |
---|---|
GraphicsPath | The GraphicsPath instance. |