We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Circles don't close completely, you can see an opening on the right side.
Code:
import korlibs.image.bitmap.* import korlibs.image.color.* import korlibs.korge.* import korlibs.korge.scene.* import korlibs.korge.view.* import korlibs.korge.view.align.* import korlibs.math.geom.* suspend fun main() = Korge(windowSize = Size(512, 512), backgroundColor = Colors["#2b2b2b"]) { val sceneContainer = sceneContainer() sceneContainer.changeTo { MyScene() } } class MyScene : Scene() { override suspend fun SContainer.sceneMain() { val cellSize = 128 image(Bitmap32(cellSize, cellSize).context2d { val margin = 20 stroke(Colors.GREEN, lineWidth = 6) { circle(Point(cellSize / 2, cellSize / 2), (cellSize - margin) / 2) } }) { centerOn(this@sceneMain) } } }
Output:
System: macOS M1 Sonoma 14.6.1
Korge: KorGE Forge 2024.2.0.2 (Fenix Edition)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Circles don't close completely, you can see an opening on the right side.
Code:
Output:
![korge-circle-bug](https://private-user-images.githubusercontent.com/358944/380528660-2447a795-6ab3-4cf5-b349-9203ef9e9d03.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5ODU5MjAsIm5iZiI6MTczODk4NTYyMCwicGF0aCI6Ii8zNTg5NDQvMzgwNTI4NjYwLTI0NDdhNzk1LTZhYjMtNGNmNS1iMzQ5LTkyMDNlZjllOWQwMy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQwMzMzNDBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jNWUyNjkzOTkwOWY1OWI0ZTI0MGYwNWRlZTIyMjQ1NzhlMzQ4NzBmMDQ3ZDQyMjdmMmJkZDQ4ODQ2YzRlMDA4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.kBMs3ndhXIg1h0uMMAhGEVy554hncRKgzchBLkqbnvI)
System:
macOS M1 Sonoma 14.6.1
Korge:
KorGE Forge 2024.2.0.2 (Fenix Edition)
The text was updated successfully, but these errors were encountered: