Naming question: BlendPercentage isn't really a percentage? #1448
-
I have noticed that ImageSharp/src/ImageSharp/GraphicsOptions.cs Lines 56 to 72 in 78a584e This is quite a nit-picky ask: but is it worth changing the name? I wouldn't bring it up except that I keep having to refer to the XML document to understand the range of acceptable values. There is a small cognitive overload each time when I realize the implied range [0,100] is not equal to the actual range [0.0, 1.0]. Alternate names:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Good point! I also dislike this name just didn't care about it too much, would vote for Unfortunately, as we promised API stability with our 1.0 release of the main library, and I have a very strong opinion that we should keep our promises, and keep breaking changes at an absolute minimum, so I'm afraid there is no way back :( Note that similar suggestions are more than welcome in Drawing, since it's still in beta. |
Beta Was this translation helpful? Give feedback.
Good point! I also dislike this name just didn't care about it too much, would vote for
BlendRatio
... if we could still change it.Unfortunately, as we promised API stability with our 1.0 release of the main library, and I have a very strong opinion that we should keep our promises, and keep breaking changes at an absolute minimum, so I'm afraid there is no way back :(
Note that similar suggestions are more than welcome in Drawing, since it's still in beta.