Package org.gnome.gsk

Class PathPoint

java.lang.Object
All Implemented Interfaces:
Proxy

@Generated("io.github.jwharm.JavaGI") public class PathPoint extends ProxyInstance
GskPathPoint is an opaque type representing a point on a path.

It can be queried for properties of the path at that point, such as its tangent or its curvature.

To obtain a GskPathPoint, use Path.getClosestPoint(org.gnome.graphene.Point, float, org.gnome.gsk.PathPoint, io.github.jwharm.javagi.base.Out<java.lang.Float>), Path.getStartPoint(org.gnome.gsk.PathPoint), Path.getEndPoint(org.gnome.gsk.PathPoint) or PathMeasure.getPoint(float, org.gnome.gsk.PathPoint).

Note that GskPathPoint structs are meant to be stack-allocated, and don't hold a reference to the path object they are obtained from. It is the callers responsibility to keep a reference to the path as long as the GskPathPoint is used.