public final class RegionHelper extends Object
The class contains helper functions to manipulate the regions.
| Modifier and Type | Class and Description |
|---|---|
static class |
RegionHelper.NodeType
Type of region data node.
|
| Constructor and Description |
|---|
RegionHelper() |
| Modifier and Type | Method and Description |
|---|---|
static com.aspose.skiainternal.IntegerRect |
convertRectToIntegerRect(com.aspose.skiainternal.Rect rect)
Converts ,
Rect object to IntegerRect object. |
static byte[] |
createRegionData(com.aspose.skiainternal.Region region)
Creates bytes representing the region data from instance of
Region class. |
static com.aspose.skiainternal.Region |
createSkiaRegionFromRegionData(RegionData regionData)
Creates an instance of
Region class from region data serialized using GDI+ format. |
public static com.aspose.skiainternal.IntegerRect convertRectToIntegerRect(com.aspose.skiainternal.Rect rect)
Converts ,Rect object to IntegerRect object.
rect - Rectangle to convert.public static com.aspose.skiainternal.Region createSkiaRegionFromRegionData(RegionData regionData)
Creates an instance of Region class from region data serialized using GDI+ format.
regionData - Serialized region data.Region class.public static byte[] createRegionData(com.aspose.skiainternal.Region region)
Creates bytes representing the region data from instance of Region class.
region - Region to serialize.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.