Clutter.PathNode¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
points |
r/w |
the coordinates of the node |
|
type |
r/w |
the node’s type |
Methods¶
|
|
|
|
|
Details¶
- class Clutter.PathNode¶
Represents a single node of a
Clutter.Path
.Some of the coordinates in points may be unused for some node types.
Clutter.PathNodeType.MOVE_TO
andClutter.PathNodeType.LINE_TO
use only one pair of coordinates,Clutter.PathNodeType.CURVE_TO
uses all three andClutter.PathNodeType.CLOSE
uses none.New in version 1.0.
- copy()¶
- Returns:
the copied node.
- Return type:
Makes an allocated copy of a node.
New in version 1.0.
- equal(node_b)¶
- Parameters:
node_b (
Clutter.PathNode
) – Second node- Returns:
True
if the nodes are the same.- Return type:
Compares two nodes and checks if they are the same type with the same coordinates.
New in version 1.0.
- free()¶
Frees the memory of an allocated node.
New in version 1.0.