Point constructor

init

Constructs a new instance of Point

def __init__(self):
    ...

init

Initializes a new instance of the Point structure from the Size structure.

def __init__(self, size):
    ...
ParameterTypeDescription
sizeSizeContains the new point coordinates.

init

Initializes a new instance of the Point structure using coordinates specified by an integer value.

def __init__(self, dw):
    ...
ParameterTypeDescription
dwintA 32-bit integer that specifies the coordinates for the new point.

init

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

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

See Also