PathPoint.compare

Returns whether point1 is before or after point2.

class PathPoint
int
compare

Parameters

point2 gsk.path_point.PathPoint

Return Value

Type: int

-1 if point1 is before point2, 1 if point1 is after point2, 0 if they are equal