Class (GI Struct)

Graphene-1.0GraphenePointSince 1.0

A point with two coordinates.

1.0

Index
x: number
y: number
  • Checks if the two points a and b point to the same coordinates.

    This function accounts for floating point fluctuations; if you want to control the fuzziness of the match, you can use graphene_point_near() instead.

    Parameters

    Returns boolean

    true if the points have the same coordinates

    1.0