فئة PointD

Summary: The point double

Module: aspose.imaging.fileformats.cdr.types

Full Name: aspose.imaging.fileformats.cdr.types.PointD

Constructors

Nameالوصف
PointD()يقوم بتهيئة نسخة جديدة من الفئة PointD
PointD(x, y)يقوم بتهيئة نسخة جديدة من البنية PointD.

Properties

NameTypeAccessالوصف
xfloatr/wيحصل أو يعيّن قيمة x.
yfloatr/wيحصل أو يعيّن قيمة y.

Methods

Nameالوصف
from_point_f(point)يحوّل PointD إلى بنية PointF.
to_point_f()يحوّل PointF إلى بنية PointD.

Constructor: PointD()

 PointD() 

يقوم بتهيئة نسخة جديدة من الفئة PointD

Constructor: PointD(x, y)

 PointD(x, y) 

يقوم بتهيئة نسخة جديدة من البنية PointD.

Parameters:

معاملنوعالوصف
xfloatقيمة x.
yfloatقيمة y.

Method: from_point_f(point)

 from_point_f(point) 

يحوّل PointD إلى بنية PointF.

Parameters:

معاملنوعالوصف
pointPointFبنية PointD.

Method: to_point_f()

 to_point_f() 

يحوّل PointF إلى بنية PointD.

Returns

نوعالوصف
PointFبنية PointF