// // Copyright (c) James Jackson-South and contributors. // Licensed under the Apache License, Version 2.0. // namespace ImageSharp.Drawing.Pens.Processors { using System; using Paths; /// /// primitive that converts a into a color and a distance away from the drawable part of the path. /// /// The type of the color. public interface IPenApplicator : IDisposable where TColor : struct, IPackedPixel, IEquatable { /// /// Gets the required region. /// /// /// The required region. /// RectangleF RequiredRegion { get; } /// /// Gets a from a point represented by a . /// /// The information to extract color details about. /// Returns the color details and distance from a solid bit of the line. ColoredPointInfo GetColor(PointInfo info); } }