From a4e674080d7cbe90e5b2218edea5d36d0be3e044 Mon Sep 17 00:00:00 2001 From: Igor Demin Date: Mon, 23 Nov 2020 12:37:10 +0300 Subject: [PATCH] Documentation. Loading XML vector images --- tutorials/Image_And_Icons_Manipulations/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorials/Image_And_Icons_Manipulations/README.md b/tutorials/Image_And_Icons_Manipulations/README.md index 67169512b3..72477fe33e 100755 --- a/tutorials/Image_And_Icons_Manipulations/README.md +++ b/tutorials/Image_And_Icons_Manipulations/README.md @@ -340,11 +340,11 @@ fun asImageAsset(image: BufferedImage): ImageAsset { ## Loading XML vector images Compose for Desktop supports XML vector images. -XML vector images are came from [Android world](https://developer.android.com/guide/topics/graphics/vector-drawable-resources). -We implented it on desktop so we can use common resources in a crossplatform application. +XML vector images come from the world of [Android](https://developer.android.com/guide/topics/graphics/vector-drawable-resources). +We implemented it on the desktop so we can use common resources in a cross-platform application. SVG files can be converted to XML with [Android Studio](https://developer.android.com/studio/write/vector-asset-studio#svg) or with [third-party tools](https://www.google.com/search?q=svg+to+xml). -Suppose we have a XML image that is placed in the `resources/images` directory in our project. +Suppose we have an XML image placed in the `resources/images` directory in our project. SVG example: ![SVG](compose.svg)