IThickness

Avatar

Hey Freya, I really love your library. <3


I was wondering if you could possibly add another interface so I could use to setup Feel, DoTween, or just be able to cast one of the many different shape types or ShapeRenderer as IThickness, just like you can do with IFillable & IDashable.

Perhaps it should look something like this?

public interface IThickness {
 
    /// <summary>Whether or not this shape should have thickness</summary>
    bool HasThickness { get; set; }
    /// <summary>The thickness of this line in the given ThicknessSpace</summary>     float Thickness { get; set; }
    /// <summary>The space in which Thickness is defined</summary>     ThicknessSpace ThicknessSpace { get; set; } }

I think this would be fantastic addition. Hope it's not too much of an ask (Perhaps an easy win? I know you got a lot on your plate).

Wish I could contribute but would probably contaminate the repo, lol.

Thanks again for your time and wonderful knowledge!  💖

Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
Reporting a bug? please specify Render Pipeline:
URP