Value | Meaning |
---|---|
FromStart0 | The tangent in path direction of the incoming side of the path |
ToStart1 | The tangent against path direction of the incoming side of the path |
ToEnd2 | The tangent in path direction of the outgoing side of the path |
FromEnd3 | The tangent against path direction of the outgoing side of the path |
The values of the gsk.types.PathDirection 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>