RectangleExtensions Class
Summary: Contains extension methods for Rectangle.
Module: aspose.psd.extensions
Full Name: aspose.psd.extensions.RectangleExtensions
Aspose.PSD Version: 24.12.0
Methods
| Name | Description | 
|---|---|
| to_gdi_rectangle(rectangle) | Converts the Rectangle to the . | 
| to_gdi_rectangle(rectangle) | Converts the Rectangle to the . | 
| union_with(rectangle, other_rectangle) | Unions two rectangle. | 
Method: to_gdi_rectangle(rectangle) [static]
 to_gdi_rectangle(rectangle) 
Converts the Rectangle to the .
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| rectangle | Rectangle | The rectangle to convert. | 
Returns
| Type | Description | 
|---|---|
| System.Drawing.Rectangle | The converted . | 
Method: to_gdi_rectangle(rectangle) [static]
 to_gdi_rectangle(rectangle) 
Converts the Rectangle to the .
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| rectangle | RectangleF | The rectangle to convert. | 
Returns
| Type | Description | 
|---|---|
| System.Drawing.RectangleF | The converted . | 
Method: union_with(rectangle, other_rectangle) [static]
 union_with(rectangle, other_rectangle) 
Unions two rectangle.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| rectangle | RectangleF | The first rectangle. | 
| other_rectangle | RectangleF | The second rectangle. | 
Returns
| Type | Description | 
|---|---|
| RectangleF | New rectangle as union operation result |