Tetragon Class
Contents
[
Hide
]Summary:
Module: aspose.gis.labeling
Full Name: aspose.gis.labeling.Tetragon
Aspose.PSD Version: 25.9.0
Constructors
| Name | Description |
|---|---|
| Tetragon() | Initializes a new instance of the Tetragon class |
| Tetragon(rectangle, angle) | Initializes a new instance of the Tetragon class |
| Tetragon(x, y, width, height, angle) | Initializes a new instance of the Tetragon class |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| angle | double | r | |
| bounding_rectangle | BoundingRectangle | r | |
| c0 | Coordinate | r | |
| c1 | Coordinate | r | |
| c2 | Coordinate | r | |
| c3 | Coordinate | r |
Methods
| Name | Description |
|---|---|
| intersects(tetragon) | |
| translate(delta) |
Constructor: Tetragon()
Tetragon()
Initializes a new instance of the Tetragon class
Constructor: Tetragon(rectangle, angle)
Tetragon(rectangle, angle)
Initializes a new instance of the Tetragon class
Parameters:
| Parameter | Type | Description |
|---|---|---|
| rectangle | Rectangle | |
| angle | double |
Constructor: Tetragon(x, y, width, height, angle)
Tetragon(x, y, width, height, angle)
Initializes a new instance of the Tetragon class
Parameters:
| Parameter | Type | Description |
|---|---|---|
| x | double | |
| y | double | |
| width | double | |
| height | double | |
| angle | double |
Method: intersects(tetragon)
intersects(tetragon)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| tetragon | Tetragon |
Returns
| Type | Description |
|---|---|
| bool |
Method: translate(delta)
translate(delta)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| delta | Coordinate |
Returns
| Type | Description |
|---|---|
| Tetragon |