Clutter.Knot

Fields

Name

Type

Access

Description

x

int

r/w

X coordinate of the knot

y

int

r/w

Y coordinate of the knot

Methods

copy ()

equal (knot_b)

free ()

Details

class Clutter.Knot

Point in a path behaviour.

New in version 0.2.

copy()
Returns:

the copied knot.

Return type:

Clutter.Knot

Makes an allocated copy of a knot.

New in version 0.2.

equal(knot_b)
Parameters:

knot_b (Clutter.Knot) – Second knot

Returns:

True if the knots point to the same location.

Return type:

bool

Compares to knot and checks if the point to the same location.

New in version 0.2.

free()

Frees the memory of an allocated knot.

New in version 0.2.