Repository navigation
2.0.2
Fixed
- Turning tangents on while the animation is playing no longer crashes. Before, starting with
setTangent(false)and then callingsetTangent(true)mid-animation threw aNullPointerException, and toggling tangents off and on again drew stale tangents from the previous run. - Control points added before layout (for example
setOrder()/addPoint()inonCreate) now stay inside the view. Their positions were estimated from the screen size, so a view narrower than the screen (such as one inside a padded card) could get points outside its bounds. They are now moved into the view on first layout.
Sample app
- Rewritten with four screens: a home page with a looping live preview, a playground for every public method, a step-by-step de Casteljau page with a color legend for each level, and an API reference. Supports light and dark themes.
- README screenshots and demo GIF updated.
Tests
- Regression tests for both fixes, plus smoke tests for every sample screen in light and dark mode.
Installation
implementation 'com.github.venshine:BezierMaker:2.0.2'implementation("com.github.venshine:BezierMaker:2.0.2")Sample APK: BezierMaker-sample-2.0.2.apk (signed with the same certificate as previous releases, so it installs over an older version).