image-js / image-js-typescript

Temporary repository to work on the migration of image-js to TypeScript
https://image-js.github.io/image-js-typescript/
MIT License
5 stars 5 forks source link

add `setClampedValue` and `setClampedValueByIndex` #442

Closed EscapedGibbon closed 4 months ago

EscapedGibbon commented 4 months ago

add setters that check that the value doesn't go out of value's limits