add demos to README.md
This commit is contained in:
@@ -5,6 +5,12 @@ Writing texts on contours.
|
||||
<!-- __demos__ -->
|
||||
## Demos
|
||||
### DemoTextOnContour01
|
||||
[source code](src/jvmDemo/kotlin/DemoTextOnContour01.kt)
|
||||
|
||||
Demo Functionality includes:
|
||||
- Loading and applying a specific font (`IBMPlexMono-Regular`) with a size of 32.0.
|
||||
- Creating a circular contour at the center of the screen with a radius of 200.0.
|
||||
- Rendering text along the rectified circle's contour.
|
||||
- Offsetting text positions, enabling repeated text rendering along the same contour.
|
||||

|
||||
|
||||
[source code](src/jvmDemo/kotlin/DemoTextOnContour01.kt)
|
||||
|
||||
Reference in New Issue
Block a user