Ellipse Class
Contents
[
Hide
]Summary:
Module: aspose.gis.common
Full Name: aspose.gis.common.Ellipse
Aspose.PSD Version: 25.9.0
Constructors
| Name | Description |
|---|---|
| Ellipse(center, x_radius, y_radius, rotation) | Initializes a new instance of the Ellipse class |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| center | Coordinate | r | |
| rotation | double | r | |
| x_radius | double | r | |
| y_radius | double | r |
Methods
| Name | Description |
|---|---|
| get_angle(coordinate) | |
| get_arc(start, end, clockwise) | |
| get_coordinate(parametric_angle) | |
| linearize(coordinates, step_size_in_degrees) |
Constructor: Ellipse(center, x_radius, y_radius, rotation)
Ellipse(center, x_radius, y_radius, rotation)
Initializes a new instance of the Ellipse class
Parameters:
| Parameter | Type | Description |
|---|---|---|
| center | Coordinate | |
| x_radius | double | |
| y_radius | double | |
| rotation | double |
Method: get_angle(coordinate)
get_angle(coordinate)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| coordinate | Coordinate |
Returns
| Type | Description |
|---|---|
| double |
Method: get_arc(start, end, clockwise)
get_arc(start, end, clockwise)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| start | Coordinate | |
| end | Coordinate | |
| clockwise | bool |
Returns
| Type | Description |
|---|---|
| EllipticArc |
Method: get_coordinate(parametric_angle)
get_coordinate(parametric_angle)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| parametric_angle | double |
Returns
| Type | Description |
|---|---|
| Coordinate |