Classe PointD
Contenu
[
Cacher
]Summary: The point double
Module: aspose.imaging.fileformats.cdr.types
Full Name: aspose.imaging.fileformats.cdr.types.PointD
Constructors
| Name | Description |
|---|---|
| PointD() | Initialise une nouvelle instance de la classe PointD |
| PointD(x, y) | Initialise une nouvelle instance de la structure PointD. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| x | float | r/w | Obtient ou définit le x. |
| y | float | r/w | Obtient ou définit le y. |
Methods
| Name | Description |
|---|---|
| from_point_f(point) | Convertit PointD en la structure PointF. |
| to_point_f() | Convertit PointF en la structure PointD. |
Constructor: PointD()
PointD()
Initialise une nouvelle instance de la classe PointD
Constructor: PointD(x, y)
PointD(x, y)
Initialise une nouvelle instance de la structure PointD.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| x | float | La valeur x. |
| y | float | La valeur y. |
Method: from_point_f(point)
from_point_f(point)
Convertit PointD en la structure PointF.
Parameters:
| Paramètre | Type | Description |
|---|---|---|
| point | PointF | La structure PointD. |
Method: to_point_f()
to_point_f()
Convertit PointF en la structure PointD.
Returns
| Type | Description |
|---|---|
| PointF | La structure PointF |