Point
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "clutter_point_get_type ()" ) ]
[ Version ( since = "1.12" ) ]
public struct Point
Content:
Static methods:
Methods:
- public Point? copy ()
Creates a new Point with the same
coordinates of this.
- public float distance (Point b, out float x_distance, out float y_distance)
Computes the distance between two Point.
- public bool equals (Point b)
Compares two Point for equality.
- public void free ()
Frees the resources allocated for this
.
- public unowned Point? init (float x, float y)
Initializes this with the given
coordinates.
Fields:
- public float x
- public float y