Class (GI Struct)

Graphene-1.0GraphenePointSince 1.0

A point with two coordinates.

1.0

Index

Constructors

Properties

x: number
y: number

Methods

  • 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.

    Returns boolean

    true if the points have the same coordinates