Point.init_

Initializes p to the given x and y coordinates.

It's safe to call this function multiple times.

class Point
init_
(
float x
,
float y
)

Parameters

x float

the X coordinate

y float

the Y coordinate

Return Value

Type: graphene.point.Point

the initialized point