mirror of https://github.com/SixLabors/ImageSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
814 B
31 lines
814 B
// <copyright file="PointInfo.cs" company="James Jackson-South">
|
|
// Copyright (c) James Jackson-South and contributors.
|
|
// Licensed under the Apache License, Version 2.0.
|
|
// </copyright>
|
|
|
|
namespace ImageSharp.Drawing.Processors
|
|
{
|
|
using System;
|
|
using System.Numerics;
|
|
|
|
/// <summary>
|
|
/// Returns details about how far away from the inside of a shape and the color the pixel could be.
|
|
/// </summary>
|
|
public struct PointInfo
|
|
{
|
|
/// <summary>
|
|
/// The distance along path
|
|
/// </summary>
|
|
public float DistanceAlongPath;
|
|
|
|
/// <summary>
|
|
/// The distance from path
|
|
/// </summary>
|
|
public float DistanceFromPath;
|
|
|
|
/// <summary>
|
|
/// The search point
|
|
/// </summary>
|
|
public Vector2 SearchPoint;
|
|
}
|
|
}
|
|
|