PathDirection
Description:
[ CCode ( cprefix = "GSK_PATH_" , type_id = "gsk_path_direction_get_type ()" ) ]
[ Version ( since = "4.14" ) ]
public enum PathDirection
[ Version ( since = "4.14" ) ]
public enum PathDirection
The values of the `GskPathDirection` enum are used to pick one of the four tangents at a given point on the path.
Note that the directions for GSK_PATH_FROM_START
/GSK_PATH_TO_END
and GSK_PATH_TO_START
/
GSK_PATH_FROM_END
will coincide for smooth points. Only sharp turns will exhibit four different directions.
<picture> <source srcset="directions-dark.png" media="(prefers-color-scheme: dark)"> <img alt="Path Tangents" src="directions-light.png"> </picture>
Namespace: Gsk
Package: gtk4