PointF constructor

init

Constructs a new instance of PointF

def __init__(self):
    ...

init

Initializes a new instance of the PointF structure with the specified coordinates.

def __init__(self, x, y):
    ...
ParameterTypeDescription
xfloatThe horizontal position of the point.
yfloatThe vertical position of the point.

See Also