// // Copyright (c) James Jackson-South and contributors. // Licensed under the Apache License, Version 2.0. // namespace ImageSharp.Drawing.Paths { using System.Numerics; /// /// Returns meta data about the nearest point on a path from a vector /// public struct PointInfo { /// /// The search point /// public Vector2 SearchPoint; /// /// The distance along path is away from the start of the path /// public float DistanceAlongPath; /// /// The distance is away from . /// public float DistanceFromPath; /// /// The closest point to that lies on the path. /// public Vector2 ClosestPointOnPath; } }