You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Igor Demin 6a481b32c2 Compose 1.6.2 7 months ago
..
.run Graphics2D example (#3770) 1 year ago
androidApp Graphics2D example (#3770) 1 year ago
desktopApp Graphics2D example (#3770) 1 year ago
gradle/wrapper Migrate all samples to the new resources library (#4386) 9 months ago
iosApp Graphics2D example (#3770) 1 year ago
jsApp Update graphics-2d and widgets-gallery to the new resources library 11 months ago
shared Migrate all samples to the new resources library (#4386) 9 months ago
.gitignore Graphics2D example (#3770) 1 year ago
README.md Update link to setup environment instructions (#4344) 9 months ago
apple-id.png Graphics2D example (#3770) 1 year ago
build.gradle.kts Graphics2D example (#3770) 1 year ago
gradle.properties Compose 1.6.2 7 months ago
gradlew Graphics2D example (#3770) 1 year ago
gradlew.bat Graphics2D example (#3770) 1 year ago
ios-app.png Graphics2D example (#3770) 1 year ago
run-configurations.png Graphics2D example (#3770) 1 year ago
settings.gradle.kts Graphics2D example (#3770) 1 year ago

README.md

Graphics2D

Example can run on Android, iOS, desktop or in a browser.

Setting up your development environment

To setup the environment, please consult these instructions.

How to run

Choose a run configuration for an appropriate target in Android Studio and run it.

run-configurations.png

Run on desktop via Gradle

./gradlew desktopApp:run

Run experimental native on MacOS

./gradlew runDebugExecutableMacosX64 (Works on Intel processors) ./gradlew runDebugExecutableMacosArm64 (Works on Arm processors)