├── gradle ├── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties └── libs.versions.toml ├── iosApp ├── Configuration │ └── Config.xcconfig ├── iosApp │ ├── Assets.xcassets │ │ ├── Contents.json │ │ ├── AppIcon.appiconset │ │ │ ├── app-icon-1024.png │ │ │ └── Contents.json │ │ └── AccentColor.colorset │ │ │ └── Contents.json │ ├── Preview Content │ │ └── Preview Assets.xcassets │ │ │ └── Contents.json │ ├── iOSApp.swift │ ├── ContentView.swift │ └── Info.plist └── iosApp.xcodeproj │ └── project.xcworkspace │ └── xcshareddata │ └── IDEWorkspaceChecks.plist ├── sample ├── src │ ├── androidMain │ │ ├── res │ │ │ ├── values │ │ │ │ └── strings.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.webp │ │ │ │ └── ic_launcher_round.webp │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ └── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ ├── kotlin │ │ │ └── dev │ │ │ │ └── carlsen │ │ │ │ └── flagkit │ │ │ │ └── sample │ │ │ │ └── MainActivity.kt │ │ └── AndroidManifest.xml │ ├── wasmJsMain │ │ ├── resources │ │ │ ├── styles.css │ │ │ └── index.html │ │ └── kotlin │ │ │ └── dev │ │ │ └── carlsen │ │ │ └── flagkit │ │ │ └── sample │ │ │ └── main.kt │ ├── iosMain │ │ └── kotlin │ │ │ └── MainViewController.kt │ ├── desktopMain │ │ └── kotlin │ │ │ └── dev │ │ │ └── carlsen │ │ │ └── flagkit │ │ │ └── sample │ │ │ └── Main.kt │ ├── macosMain │ │ └── kotlin │ │ │ └── main.macos.kt │ └── commonMain │ │ └── kotlin │ │ └── dev │ │ └── carlsen │ │ └── flagkit │ │ └── sample │ │ └── Application.kt └── README.md ├── CHANGELOG.md ├── .gitignore ├── settings.gradle.kts ├── core ├── src │ ├── commonTest │ │ └── kotlin │ │ │ └── dev │ │ │ └── carlsen │ │ │ └── flagkit │ │ │ └── FlagKitTest.kt │ └── commonMain │ │ └── kotlin │ │ └── dev │ │ └── carlsen │ │ └── flagkit │ │ └── flagicons │ │ ├── JP.kt │ │ ├── SY.kt │ │ ├── GBENG.kt │ │ ├── FI.kt │ │ ├── BT.kt │ │ ├── ID.kt │ │ ├── LI.kt │ │ ├── MC.kt │ │ ├── PL.kt │ │ ├── UA.kt │ │ ├── BD.kt │ │ ├── PW.kt │ │ ├── SO.kt │ │ ├── VN.kt │ │ ├── DK.kt │ │ ├── SE.kt │ │ ├── GBZET.kt │ │ ├── GBSCT.kt │ │ ├── CZ.kt │ │ ├── BE.kt │ │ ├── BJ.kt │ │ ├── CI.kt │ │ ├── FR.kt │ │ ├── GN.kt │ │ ├── IE.kt │ │ ├── IT.kt │ │ ├── LV.kt │ │ ├── MF.kt │ │ ├── MG.kt │ │ ├── ML.kt │ │ ├── NG.kt │ │ ├── PE.kt │ │ ├── RE.kt │ │ ├── RO.kt │ │ ├── TD.kt │ │ ├── WF.kt │ │ ├── AM.kt │ │ ├── AT.kt │ │ ├── BG.kt │ │ ├── BO.kt │ │ ├── CO.kt │ │ ├── DE.kt │ │ ├── EE.kt │ │ ├── GA.kt │ │ ├── HU.kt │ │ ├── LT.kt │ │ ├── LU.kt │ │ ├── NL.kt │ │ ├── RU.kt │ │ ├── SL.kt │ │ ├── YE.kt │ │ ├── BH.kt │ │ ├── QA.kt │ │ ├── BN.kt │ │ └── FO.kt └── build.gradle.kts ├── LICENSE ├── .github └── workflows │ ├── build.yml │ └── release.yaml ├── gradle.properties ├── gradle.bat └── README.md /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acarlsen/kmp-flagkit/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /iosApp/Configuration/Config.xcconfig: -------------------------------------------------------------------------------- 1 | TEAM_ID= 2 | BUNDLE_ID=org.example.project.KotlinProject 3 | APP_NAME=KotlinProject -------------------------------------------------------------------------------- /iosApp/iosApp/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } -------------------------------------------------------------------------------- /sample/src/androidMain/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | kmp-flagkit 3 | 4 | -------------------------------------------------------------------------------- /iosApp/iosApp/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "author" : "xcode", 4 | "version" : 1 5 | } 6 | } -------------------------------------------------------------------------------- /sample/src/androidMain/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acarlsen/kmp-flagkit/HEAD/sample/src/androidMain/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /sample/src/androidMain/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acarlsen/kmp-flagkit/HEAD/sample/src/androidMain/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /sample/src/androidMain/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acarlsen/kmp-flagkit/HEAD/sample/src/androidMain/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /sample/src/wasmJsMain/resources/styles.css: -------------------------------------------------------------------------------- 1 | html, body { 2 | width: 100%; 3 | height: 100%; 4 | margin: 0; 5 | padding: 0; 6 | overflow: hidden; 7 | } -------------------------------------------------------------------------------- /sample/src/androidMain/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acarlsen/kmp-flagkit/HEAD/sample/src/androidMain/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /sample/src/androidMain/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acarlsen/kmp-flagkit/HEAD/sample/src/androidMain/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /sample/src/androidMain/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acarlsen/kmp-flagkit/HEAD/sample/src/androidMain/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /sample/src/androidMain/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acarlsen/kmp-flagkit/HEAD/sample/src/androidMain/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /iosApp/iosApp/iOSApp.swift: -------------------------------------------------------------------------------- 1 | import SwiftUI 2 | 3 | @main 4 | struct iOSApp: App { 5 | var body: some Scene { 6 | WindowGroup { 7 | ContentView() 8 | } 9 | } 10 | } -------------------------------------------------------------------------------- /sample/src/androidMain/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acarlsen/kmp-flagkit/HEAD/sample/src/androidMain/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /sample/src/androidMain/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acarlsen/kmp-flagkit/HEAD/sample/src/androidMain/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /iosApp/iosApp/Assets.xcassets/AppIcon.appiconset/app-icon-1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acarlsen/kmp-flagkit/HEAD/iosApp/iosApp/Assets.xcassets/AppIcon.appiconset/app-icon-1024.png -------------------------------------------------------------------------------- /sample/src/androidMain/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acarlsen/kmp-flagkit/HEAD/sample/src/androidMain/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /iosApp/iosApp/Assets.xcassets/AccentColor.colorset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "colors" : [ 3 | { 4 | "idiom" : "universal" 5 | } 6 | ], 7 | "info" : { 8 | "author" : "xcode", 9 | "version" : 1 10 | } 11 | } -------------------------------------------------------------------------------- /sample/src/iosMain/kotlin/MainViewController.kt: -------------------------------------------------------------------------------- 1 | import androidx.compose.ui.window.ComposeUIViewController 2 | import dev.carlsen.flagkit.sample.Application 3 | 4 | fun MainViewController() = ComposeUIViewController { Application() } 5 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | ## 1.1.0 *(2024-10-02)* 4 | 5 | - Added Wasm support 6 | - Updated dependencies 7 | 8 | ## 1.0.1 *(2023-11-25)* 9 | 10 | - Change to use MIT license 11 | 12 | ## 1.0.0 *(2023-11-23)* 13 | 14 | - Initial release 15 | -------------------------------------------------------------------------------- /sample/src/androidMain/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /iosApp/iosApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /iosApp/iosApp/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "filename" : "app-icon-1024.png", 5 | "idiom" : "universal", 6 | "platform" : "ios", 7 | "size" : "1024x1024" 8 | } 9 | ], 10 | "info" : { 11 | "author" : "xcode", 12 | "version" : 1 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /sample/src/androidMain/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /sample/src/desktopMain/kotlin/dev/carlsen/flagkit/sample/Main.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.sample 2 | 3 | import androidx.compose.ui.window.Window 4 | import androidx.compose.ui.window.application 5 | 6 | public fun main() { 7 | application { 8 | Window(onCloseRequest = ::exitApplication) { 9 | Application() 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /sample/src/macosMain/kotlin/main.macos.kt: -------------------------------------------------------------------------------- 1 | import androidx.compose.ui.window.Window 2 | import dev.carlsen.flagkit.sample.Application 3 | import platform.AppKit.NSApp 4 | import platform.AppKit.NSApplication 5 | 6 | fun main() { 7 | NSApplication.sharedApplication() 8 | Window("kmp-flagkit") { 9 | Application() 10 | } 11 | NSApp?.run() 12 | } 13 | 14 | -------------------------------------------------------------------------------- /sample/src/wasmJsMain/kotlin/dev/carlsen/flagkit/sample/main.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.sample 2 | 3 | import androidx.compose.ui.ExperimentalComposeUiApi 4 | import androidx.compose.ui.window.ComposeViewport 5 | import kotlinx.browser.document 6 | 7 | @OptIn(ExperimentalComposeUiApi::class) 8 | fun main() { 9 | ComposeViewport(document.body!!) { 10 | Application() 11 | } 12 | } -------------------------------------------------------------------------------- /sample/src/wasmJsMain/resources/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | KotlinProject 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | **/build/ 4 | xcuserdata 5 | !src/**/build/ 6 | local.properties 7 | .idea 8 | .DS_Store 9 | captures 10 | .externalNativeBuild 11 | .cxx 12 | *.xcodeproj/* 13 | !*.xcodeproj/project.pbxproj 14 | !*.xcodeproj/xcshareddata/ 15 | !*.xcodeproj/project.xcworkspace/ 16 | !*.xcworkspace/contents.xcworkspacedata 17 | **/xcshareddata/WorkspaceSettings.xcsettings 18 | /kotlin-js-store 19 | /.kotlin 20 | -------------------------------------------------------------------------------- /sample/src/androidMain/kotlin/dev/carlsen/flagkit/sample/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.sample 2 | 3 | import android.os.Bundle 4 | import androidx.activity.compose.setContent 5 | import androidx.appcompat.app.AppCompatActivity 6 | 7 | public class MainActivity : AppCompatActivity() { 8 | override fun onCreate(savedInstanceState: Bundle?) { 9 | super.onCreate(savedInstanceState) 10 | 11 | setContent { 12 | Application() 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /sample/README.md: -------------------------------------------------------------------------------- 1 | # kmp-flagkit samples 2 | 3 | ### Running iOS 4 | Run from Android Studio. 5 | 6 | ### Running MacOS Native app (Desktop using Kotlin Native) 7 | ```shell 8 | ./gradlew :sample:runNativeDebug 9 | ``` 10 | 11 | ### Running JVM Native app (Desktop) 12 | ```shell 13 | ./gradlew :sample:run 14 | ``` 15 | 16 | ## Running Wasm (Web) 17 | ```shell 18 | ./gradlew wasmBrowserDevelopmentRun --continuous 19 | ``` 20 | 21 | ### Installing Android App 22 | ```shell 23 | ./gradlew :sample:installDebug 24 | ``` 25 | -------------------------------------------------------------------------------- /iosApp/iosApp/ContentView.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import SwiftUI 3 | import sample 4 | 5 | struct ComposeView: UIViewControllerRepresentable { 6 | func makeUIViewController(context: Context) -> UIViewController { 7 | MainViewControllerKt.MainViewController() 8 | } 9 | 10 | func updateUIViewController(_ uiViewController: UIViewController, context: Context) {} 11 | } 12 | 13 | struct ContentView: View { 14 | var body: some View { 15 | ComposeView() 16 | .ignoresSafeArea(.keyboard) // Compose has own keyboard handler 17 | } 18 | } 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- 1 | pluginManagement { 2 | repositories { 3 | google { 4 | mavenContent { 5 | includeGroupAndSubgroups("androidx") 6 | includeGroupAndSubgroups("com.android") 7 | includeGroupAndSubgroups("com.google") 8 | } 9 | } 10 | mavenCentral() 11 | gradlePluginPortal() 12 | } 13 | } 14 | 15 | dependencyResolutionManagement { 16 | repositories { 17 | google { 18 | mavenContent { 19 | includeGroupAndSubgroups("androidx") 20 | includeGroupAndSubgroups("com.android") 21 | includeGroupAndSubgroups("com.google") 22 | } 23 | } 24 | mavenCentral() 25 | } 26 | } 27 | 28 | rootProject.name = "kmp-flagkit" 29 | 30 | include(":core") 31 | include(":sample") 32 | -------------------------------------------------------------------------------- /core/src/commonTest/kotlin/dev/carlsen/flagkit/FlagKitTest.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit 2 | 3 | import kotlin.test.Test 4 | import kotlin.test.assertNotNull 5 | import kotlin.test.assertNull 6 | 7 | class FlagKitTest { 8 | 9 | companion object { 10 | val validCodes = listOf( 11 | "AR", 12 | "DK", 13 | "GB", 14 | "US", 15 | "US-CA" 16 | ) 17 | 18 | val invalidCodes = listOf( 19 | "AA", 20 | "CE", 21 | "ZZ" 22 | ) 23 | } 24 | @Test 25 | fun shouldFindMatchingFlag() { 26 | for (code in validCodes) { 27 | assertNotNull(FlagKit.getFlag(code)) 28 | } 29 | } 30 | 31 | @Test 32 | fun shouldNotFindMatchingFlag() { 33 | for (code in invalidCodes) { 34 | assertNull(FlagKit.getFlag(code)) 35 | } 36 | } 37 | } -------------------------------------------------------------------------------- /sample/src/androidMain/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 12 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016 Bowtie AB 4 | Copyright (c) 2023 acarlsen 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 | SOFTWARE. -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | name: Build 2 | 3 | on: 4 | pull_request: 5 | branches: 6 | - 'main' 7 | push: 8 | branches: 9 | - 'main' 10 | 11 | concurrency: 12 | group: ${{ github.workflow }}-${{ github.ref }} 13 | cancel-in-progress: true 14 | 15 | jobs: 16 | test: 17 | name: "Run tests" 18 | runs-on: ubuntu-latest 19 | 20 | steps: 21 | - name: "Checkout code" 22 | uses: actions/checkout@v3 23 | 24 | - name: "Set up JDK 17" 25 | uses: actions/setup-java@v3 26 | with: 27 | distribution: 'zulu' 28 | java-version: '17' 29 | 30 | - name: "Setup Gradle Dependencies Cache" 31 | uses: actions/cache@v3 32 | with: 33 | path: | 34 | ~/.gradle/caches 35 | ~/.gradle/wrapper 36 | key: ${{ runner.os }}-gradle-caches-${{ hashFiles('**/*.gradle', '**/*.gradle.kts', '**/gradle-wrapper.properties') }} 37 | 38 | - name: "Run tests" 39 | run: ./gradlew desktopTest 40 | 41 | - name: "Test Summary" 42 | uses: test-summary/action@v2 43 | with: 44 | paths: | 45 | core/build/test-results/**/TEST-*.xml 46 | if: always() 47 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | #Gradle 2 | org.gradle.jvmargs=-Xmx2048M -Dkotlin.daemon.jvm.options\="-Xmx2048M" 3 | 4 | #Kotlin 5 | kotlin.code.style=official 6 | 7 | #Android 8 | android.useAndroidX=true 9 | 10 | #MPP 11 | kotlin.mpp.enableCInteropCommonization=true 12 | kotlin.mpp.androidSourceSetLayoutVersion=2 13 | org.jetbrains.compose.experimental.macos.enabled=true 14 | org.jetbrains.compose.experimental.uikit.enabled=true 15 | org.jetbrains.compose.experimental.jscanvas.enabled=true 16 | 17 | # Maven 18 | SONATYPE_HOST=CENTRAL_PORTAL 19 | SONATYPE_AUTOMATIC_RELEASE=true 20 | RELEASE_SIGNING_ENABLED=true 21 | 22 | GROUP=dev.carlsen.flagkit 23 | POM_ARTIFACT_ID=flagkit 24 | VERSION_NAME=1.0.0-SNAPSHOT 25 | 26 | POM_NAME=kmp-flagkit 27 | POM_DESCRIPTION=Flag icons in ImageVector format for Kotlin Multiplatform 28 | POM_INCEPTION_YEAR=2023 29 | POM_URL=https://github.com/acarlsen/kmp-flagkit 30 | 31 | POM_LICENCE_NAME=The MIT License 32 | POM_LICENCE_URL=https://github.com/acarlsen/kmp-flagkit/blob/main/LICENSE 33 | POM_LICENCE_DIST=repo 34 | 35 | POM_SCM_URL=https://github.com/acarlsen/kmp-flagkit 36 | POM_SCM_CONNECTION=scm:git:git://github.com/acarlsen/kmp-flagkit.git 37 | POM_SCM_DEV_CONNECTION=scm:git:ssh://git@github.com:acarlsen/kmp-flagkit.git 38 | 39 | POM_DEVELOPER_ID=acarlsen 40 | POM_DEVELOPER_NAME=Anders Carlsen 41 | POM_DEVELOPER_URL=https://github.com/acarlsen 42 | -------------------------------------------------------------------------------- /gradle/libs.versions.toml: -------------------------------------------------------------------------------- 1 | [versions] 2 | agp = "8.11.1" 3 | android-compileSdk = "35" 4 | android-minSdk = "21" 5 | android-targetSdk = "35" 6 | 7 | androidx-activityCompose = "1.10.1" 8 | androidx-appcompat = "1.7.1" 9 | androidx-core-ktx = "1.16.0" 10 | jetbrains-compose = "1.8.2" 11 | junit = "4.13.2" 12 | kotlin = "2.2.0" 13 | maven-publish = "0.34.0" 14 | 15 | [libraries] 16 | kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" } 17 | kotlin-test-junit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlin" } 18 | junit = { group = "junit", name = "junit", version.ref = "junit" } 19 | androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "androidx-core-ktx" } 20 | androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "androidx-appcompat" } 21 | androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activityCompose" } 22 | 23 | [plugins] 24 | androidApplication = { id = "com.android.application", version.ref = "agp" } 25 | androidLibrary = { id = "com.android.library", version.ref = "agp" } 26 | jetbrainsCompose = { id = "org.jetbrains.compose", version.ref = "jetbrains-compose" } 27 | compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" } 28 | kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" } 29 | mavenPublish = { id = "com.vanniktech.maven.publish", version.ref = "maven-publish" } -------------------------------------------------------------------------------- /iosApp/iosApp/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | LSRequiresIPhoneOS 22 | 23 | CADisableMinimumFrameDurationOnPhone 24 | 25 | UIApplicationSceneManifest 26 | 27 | UIApplicationSupportsMultipleScenes 28 | 29 | 30 | UILaunchScreen 31 | 32 | UIRequiredDeviceCapabilities 33 | 34 | armv7 35 | 36 | UISupportedInterfaceOrientations 37 | 38 | UIInterfaceOrientationPortrait 39 | UIInterfaceOrientationLandscapeLeft 40 | UIInterfaceOrientationLandscapeRight 41 | 42 | UISupportedInterfaceOrientations~ipad 43 | 44 | UIInterfaceOrientationPortrait 45 | UIInterfaceOrientationPortraitUpsideDown 46 | UIInterfaceOrientationLandscapeLeft 47 | UIInterfaceOrientationLandscapeRight 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /.github/workflows/release.yaml: -------------------------------------------------------------------------------- 1 | name: Release 2 | 3 | permissions: 4 | contents: write 5 | 6 | on: 7 | push: 8 | tags: 9 | - '**' 10 | 11 | jobs: 12 | release: 13 | 14 | name: "Publish kmp-flagkit" 15 | runs-on: macOS-latest 16 | steps: 17 | 18 | - name: "Checkout code" 19 | uses: actions/checkout@v3 20 | with: 21 | ref: ${{ github.event.release.tag_name }} 22 | 23 | - name: "Set up JDK 17" 24 | uses: actions/setup-java@v3 25 | with: 26 | distribution: 'zulu' 27 | java-version: '17' 28 | 29 | - name: "Get release notes" 30 | run: | 31 | echo "RELEASE_NOTES<> $GITHUB_ENV 32 | echo "$(awk '/^## ${{ github.ref_name }}/{flag=1;next}/^## /{flag=0}flag' CHANGELOG.md)" >> $GITHUB_ENV 33 | echo "EOF" >> $GITHUB_ENV 34 | 35 | - name: "Set version for tag" 36 | run: | 37 | echo "ORG_GRADLE_PROJECT_VERSION_NAME=${{ github.ref_name }}" >> $GITHUB_ENV 38 | 39 | - name: "Deploy to Maven/Sonatype" 40 | run: | 41 | ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache --stacktrace 42 | env: 43 | ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }} 44 | ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }} 45 | ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }} 46 | ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }} 47 | 48 | - name: "Create Release" 49 | uses: softprops/action-gh-release@v1 50 | with: 51 | token: ${{ secrets.GITHUB_TOKEN }} 52 | body: ${{ env.RELEASE_NOTES }} 53 | if: ${{ env.RELEASE_NOTES != '' }} -------------------------------------------------------------------------------- /sample/src/androidMain/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 15 | 18 | 21 | 22 | 23 | 24 | 30 | -------------------------------------------------------------------------------- /sample/src/commonMain/kotlin/dev/carlsen/flagkit/sample/Application.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.sample 2 | 3 | import androidx.compose.foundation.Image 4 | import androidx.compose.foundation.layout.Column 5 | import androidx.compose.foundation.layout.fillMaxSize 6 | import androidx.compose.foundation.layout.fillMaxWidth 7 | import androidx.compose.foundation.layout.height 8 | import androidx.compose.foundation.layout.padding 9 | import androidx.compose.foundation.lazy.grid.GridCells 10 | import androidx.compose.foundation.lazy.grid.LazyVerticalGrid 11 | import androidx.compose.foundation.lazy.grid.items 12 | import androidx.compose.material.Scaffold 13 | import androidx.compose.material.Text 14 | import androidx.compose.runtime.Composable 15 | import androidx.compose.ui.Modifier 16 | import androidx.compose.ui.layout.ContentScale 17 | import androidx.compose.ui.text.font.FontWeight 18 | import androidx.compose.ui.text.style.TextAlign 19 | import androidx.compose.ui.unit.dp 20 | import androidx.compose.ui.unit.sp 21 | import dev.carlsen.flagkit.AllIcons 22 | import dev.carlsen.flagkit.FlagIcons 23 | 24 | @Composable 25 | fun Application() { 26 | Scaffold { 27 | FlagList() 28 | } 29 | } 30 | 31 | @Composable 32 | fun FlagList() { 33 | Column(modifier = Modifier.fillMaxSize()) { 34 | Text( 35 | text = "Flag icons", 36 | modifier = Modifier.fillMaxWidth() 37 | .padding(top = 32.dp, bottom = 32.dp), 38 | textAlign = TextAlign.Center, 39 | fontSize = 32.sp, 40 | fontWeight = FontWeight.Bold, 41 | ) 42 | LazyVerticalGrid( 43 | modifier = Modifier.fillMaxWidth() 44 | .weight(1f), 45 | columns = GridCells.Fixed(2), 46 | ) { 47 | items(FlagIcons.AllIcons) { icon -> 48 | Image( 49 | imageVector = icon, 50 | contentDescription = null, 51 | contentScale = ContentScale.Fit, 52 | modifier = Modifier 53 | .height(160.dp) 54 | .padding(8.dp) 55 | ) 56 | } 57 | } 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /core/build.gradle.kts: -------------------------------------------------------------------------------- 1 | import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl 2 | import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackConfig 3 | 4 | plugins { 5 | alias(libs.plugins.kotlinMultiplatform) 6 | alias(libs.plugins.androidLibrary) 7 | alias(libs.plugins.jetbrainsCompose) 8 | alias(libs.plugins.compose.compiler) 9 | alias(libs.plugins.mavenPublish) 10 | } 11 | 12 | kotlin { 13 | @OptIn(ExperimentalWasmDsl::class) 14 | wasmJs { 15 | outputModuleName.set("kmp-flagkit") 16 | browser { 17 | val projectDirPath = project.projectDir.path 18 | commonWebpackConfig { 19 | outputFileName = "kmp-flagkit.js" 20 | devServer = (devServer ?: KotlinWebpackConfig.DevServer()).apply { 21 | static = (static ?: mutableListOf()).apply { 22 | // Serve sources to debug inside browser 23 | add(projectDirPath) 24 | } 25 | } 26 | } 27 | } 28 | binaries.executable() 29 | } 30 | androidTarget { 31 | if(project.plugins.hasPlugin("com.vanniktech.maven.publish")) { 32 | publishLibraryVariants("release") 33 | } 34 | } 35 | jvm("desktop") 36 | js(IR) { 37 | browser() 38 | } 39 | 40 | macosX64() 41 | macosArm64() 42 | iosX64() 43 | iosArm64() 44 | iosSimulatorArm64() 45 | 46 | sourceSets { 47 | val commonMain by getting { 48 | dependencies { 49 | implementation(compose.runtime) 50 | implementation(compose.foundation) 51 | implementation(compose.ui) 52 | } 53 | } 54 | 55 | val commonTest by getting { 56 | dependencies { 57 | implementation(compose.ui) 58 | implementation(kotlin("test")) 59 | } 60 | } 61 | } 62 | } 63 | 64 | android { 65 | namespace = "dev.carlsen.flagkit" 66 | compileSdk = libs.versions.android.compileSdk.get().toInt() 67 | 68 | defaultConfig { 69 | minSdk = libs.versions.android.minSdk.get().toInt() 70 | } 71 | compileOptions { 72 | sourceCompatibility = JavaVersion.VERSION_17 73 | targetCompatibility = JavaVersion.VERSION_17 74 | } 75 | kotlin { 76 | jvmToolchain(17) 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/JP.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.JP: ImageVector 17 | get() { 18 | if (_jp != null) { 19 | return _jp!! 20 | } 21 | _jp = Builder(name = "Jp", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFD81441), 1.0f to Color(0xFFBB0831), start = 34 | Offset(10.5f,3.0f), end = Offset(10.5f,12.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(10.5f, 7.5f) 38 | moveToRelative(-4.5f, 0.0f) 39 | arcToRelative(4.5f, 4.5f, 0.0f, true, true, 9.0f, 0.0f) 40 | arcToRelative(4.5f, 4.5f, 0.0f, true, true, -9.0f, 0.0f) 41 | } 42 | } 43 | .build() 44 | return _jp!! 45 | } 46 | 47 | private var _jp: ImageVector? = null 48 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/SY.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.graphics.Color 4 | import androidx.compose.ui.graphics.SolidColor 5 | import androidx.compose.ui.graphics.vector.ImageVector 6 | import androidx.compose.ui.graphics.vector.path 7 | import androidx.compose.ui.unit.dp 8 | import dev.carlsen.flagkit.FlagIcons 9 | 10 | val FlagIcons.SY: ImageVector 11 | get() { 12 | if (_sy != null) { 13 | return _sy!! 14 | } 15 | _sy = ImageVector.Builder( 16 | name = "Sy", 17 | defaultWidth = 840.dp, 18 | defaultHeight = 600.dp, 19 | viewportWidth = 840f, 20 | viewportHeight = 600f 21 | ).apply { 22 | path(fill = SolidColor(Color.Black)) { 23 | moveTo(0f, 0f) 24 | horizontalLineToRelative(840f) 25 | verticalLineToRelative(600f) 26 | horizontalLineTo(0f) 27 | close() 28 | } 29 | path(fill = SolidColor(Color.White)) { 30 | moveTo(0f, 0f) 31 | horizontalLineToRelative(840f) 32 | verticalLineToRelative(400f) 33 | horizontalLineTo(0f) 34 | close() 35 | } 36 | path(fill = SolidColor(Color(0xFF007A3D))) { 37 | moveTo(0f, 0f) 38 | horizontalLineToRelative(840f) 39 | verticalLineToRelative(200f) 40 | horizontalLineTo(0f) 41 | close() 42 | } 43 | path(fill = SolidColor(Color(0xFFCE1126))) { 44 | moveToRelative(176.26f, 375f) 45 | lineToRelative(48.74f, -150f) 46 | lineToRelative(48.74f, 150f) 47 | lineToRelative(-127.6f, -92.71f) 48 | horizontalLineToRelative(157.72f) 49 | moveToRelative(322.4f, 92.71f) 50 | lineToRelative(48.74f, -150f) 51 | lineToRelative(48.74f, 150f) 52 | lineToRelative(-127.6f, -92.71f) 53 | horizontalLineToRelative(157.72f) 54 | moveToRelative(-352.6f, 92.71f) 55 | lineToRelative(48.74f, -150f) 56 | lineToRelative(48.74f, 150f) 57 | lineToRelative(-127.6f, -92.71f) 58 | horizontalLineToRelative(157.72f) 59 | } 60 | }.build() 61 | 62 | return _sy!! 63 | } 64 | 65 | private var _sy: ImageVector? = null 66 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/GBENG.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.GB_ENG: ImageVector 17 | get() { 18 | if (_gbEng != null) { 19 | return _gbEng!! 20 | } 21 | _gbEng = Builder(name = "GbEng", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, 22 | viewportWidth = 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFE82739), 1.0f to Color(0xFFCA1A2B), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(9.0f, 6.0f) 38 | lineTo(0.0f, 6.0f) 39 | lineTo(0.0f, 9.0f) 40 | lineTo(9.0f, 9.0f) 41 | lineTo(9.0f, 15.0f) 42 | lineTo(12.0f, 15.0f) 43 | lineTo(12.0f, 9.0f) 44 | lineTo(21.0f, 9.0f) 45 | lineTo(21.0f, 6.0f) 46 | lineTo(12.0f, 6.0f) 47 | lineTo(12.0f, 0.0f) 48 | lineTo(9.0f, 0.0f) 49 | lineTo(9.0f, 6.0f) 50 | close() 51 | } 52 | } 53 | .build() 54 | return _gbEng!! 55 | } 56 | 57 | private var _gbEng: ImageVector? = null 58 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/FI.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.FI: ImageVector 17 | get() { 18 | if (_fi != null) { 19 | return _fi!! 20 | } 21 | _fi = Builder(name = "Fi", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF0848A6), 1.0f to Color(0xFF003480), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 9.0f) 38 | lineToRelative(6.0f, 0.0f) 39 | lineToRelative(0.0f, 6.0f) 40 | lineToRelative(3.0f, 0.0f) 41 | lineToRelative(0.0f, -6.0f) 42 | lineToRelative(12.0f, 0.0f) 43 | lineToRelative(0.0f, -3.0f) 44 | lineToRelative(-12.0f, 0.0f) 45 | lineToRelative(0.0f, -6.0f) 46 | lineToRelative(-3.0f, 0.0f) 47 | lineToRelative(0.0f, 6.0f) 48 | lineToRelative(-6.0f, 0.0f) 49 | close() 50 | } 51 | } 52 | .build() 53 | return _fi!! 54 | } 55 | 56 | private var _fi: ImageVector? = null 57 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/BT.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.BT: ImageVector 17 | get() { 18 | if (_bt != null) { 19 | return _bt!! 20 | } 21 | _bt = Builder(name = "Bt", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFFF5F38), 1.0f to Color(0xFFFD5026), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFFFD951), 1.0f to Color(0xFFFFD43B), start = 44 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 15.0f) 48 | lineToRelative(21.0f, -15.0f) 49 | lineToRelative(-21.0f, 0.0f) 50 | close() 51 | } 52 | } 53 | .build() 54 | return _bt!! 55 | } 56 | 57 | private var _bt: ImageVector? = null 58 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/ID.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.ID: ImageVector 17 | get() { 18 | if (_id != null) { 19 | return _id!! 20 | } 21 | _id = Builder(name = "Id", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFE12237), 1.0f to Color(0xFFCE1126), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,8.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(8.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 44 | Offset(10.5f,8.0f), end = Offset(10.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 8.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(7.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | } 54 | .build() 55 | return _id!! 56 | } 57 | 58 | private var _id: ImageVector? = null 59 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/LI.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.LI: ImageVector 17 | get() { 18 | if (_li != null) { 19 | return _li!! 20 | } 21 | _li = Builder(name = "Li", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF0A3B97), 1.0f to Color(0xFF042E7D), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,8.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(8.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFE6273E), 1.0f to Color(0xFFCC162C), start = 44 | Offset(10.5f,8.0f), end = Offset(10.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 8.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(7.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | } 54 | .build() 55 | return _li!! 56 | } 57 | 58 | private var _li: ImageVector? = null 59 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/MC.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.MC: ImageVector 17 | get() { 18 | if (_mc != null) { 19 | return _mc!! 20 | } 21 | _mc = Builder(name = "Mc", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFEA233B), 1.0f to Color(0xFFCC162C), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,8.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(8.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 44 | Offset(10.5f,8.0f), end = Offset(10.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 8.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(7.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | } 54 | .build() 55 | return _mc!! 56 | } 57 | 58 | private var _mc: ImageVector? = null 59 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/PL.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.PL: ImageVector 17 | get() { 18 | if (_pl != null) { 19 | return _pl!! 20 | } 21 | _pl = Builder(name = "Pl", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFEB2A50), 1.0f to Color(0xFFDA1B40), start = 34 | Offset(10.5f,7.0f), end = Offset(10.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 7.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(8.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 44 | Offset(10.5f,0.0f), end = Offset(10.5f,7.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(7.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | } 54 | .build() 55 | return _pl!! 56 | } 57 | 58 | private var _pl: ImageVector? = null 59 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/UA.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.UA: ImageVector 17 | get() { 18 | if (_ua != null) { 19 | return _ua!! 20 | } 21 | _ua = Builder(name = "Ua", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF156DD1), 1.0f to Color(0xFF0D5EB9), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,8.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(8.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFFFD948), 1.0f to Color(0xFFFFD430), start = 44 | Offset(10.5f,8.0f), end = Offset(10.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 8.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(7.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | } 54 | .build() 55 | return _ua!! 56 | } 57 | 58 | private var _ua: ImageVector? = null 59 | -------------------------------------------------------------------------------- /gradle.bat: -------------------------------------------------------------------------------- 1 | @rem 2 | @rem Copyright 2015 the original author or authors. 3 | @rem 4 | @rem Licensed under the Apache License, Version 2.0 (the "License"); 5 | @rem you may not use this file except in compliance with the License. 6 | @rem You may obtain a copy of the License at 7 | @rem 8 | @rem https://www.apache.org/licenses/LICENSE-2.0 9 | @rem 10 | @rem Unless required by applicable law or agreed to in writing, software 11 | @rem distributed under the License is distributed on an "AS IS" BASIS, 12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | @rem See the License for the specific language governing permissions and 14 | @rem limitations under the License. 15 | @rem 16 | 17 | @if "%DEBUG%" == "" @echo off 18 | @rem ########################################################################## 19 | @rem 20 | @rem Gradle startup script for Windows 21 | @rem 22 | @rem ########################################################################## 23 | 24 | @rem Set local scope for the variables with windows NT shell 25 | if "%OS%"=="Windows_NT" setlocal 26 | 27 | set DIRNAME=%~dp0 28 | if "%DIRNAME%" == "" set DIRNAME=. 29 | set APP_BASE_NAME=%~n0 30 | set APP_HOME=%DIRNAME% 31 | 32 | @rem Resolve any "." and ".." in APP_HOME to make it shorter. 33 | for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi 34 | 35 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 36 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 37 | 38 | @rem Find java.exe 39 | if defined JAVA_HOME goto findJavaFromJavaHome 40 | 41 | set JAVA_EXE=java.exe 42 | %JAVA_EXE% -version >NUL 2>&1 43 | if "%ERRORLEVEL%" == "0" goto execute 44 | 45 | echo. 46 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 47 | echo. 48 | echo Please set the JAVA_HOME variable in your environment to match the 49 | echo location of your Java installation. 50 | 51 | goto fail 52 | 53 | :findJavaFromJavaHome 54 | set JAVA_HOME=%JAVA_HOME:"=% 55 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 56 | 57 | if exist "%JAVA_EXE%" goto execute 58 | 59 | echo. 60 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 61 | echo. 62 | echo Please set the JAVA_HOME variable in your environment to match the 63 | echo location of your Java installation. 64 | 65 | goto fail 66 | 67 | :execute 68 | @rem Setup the command line 69 | 70 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 71 | 72 | 73 | @rem Execute Gradle 74 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* 75 | 76 | :end 77 | @rem End local scope for the variables with windows NT shell 78 | if "%ERRORLEVEL%"=="0" goto mainEnd 79 | 80 | :fail 81 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 82 | rem the _cmd.exe /c_ return code! 83 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 84 | exit /b 1 85 | 86 | :mainEnd 87 | if "%OS%"=="Windows_NT" endlocal 88 | 89 | :omega -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/BD.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.BD: ImageVector 17 | get() { 18 | if (_bd != null) { 19 | return _bd!! 20 | } 21 | _bd = Builder(name = "Bd", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF128363), 1.0f to Color(0xFF0C6A4F), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFF23C53), 1.0f to Color(0xFFF22E46), start = 44 | Offset(9.5f,3.0f), end = Offset(9.5f,12.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(9.5f, 7.5f) 48 | moveToRelative(-4.5f, 0.0f) 49 | arcToRelative(4.5f, 4.5f, 0.0f, true, true, 9.0f, 0.0f) 50 | arcToRelative(4.5f, 4.5f, 0.0f, true, true, -9.0f, 0.0f) 51 | } 52 | } 53 | .build() 54 | return _bd!! 55 | } 56 | 57 | private var _bd: ImageVector? = null 58 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/PW.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.PW: ImageVector 17 | get() { 18 | if (_pw != null) { 19 | return _pw!! 20 | } 21 | _pw = Builder(name = "Pw", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF65C6EE), 1.0f to Color(0xFF4FAED5), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFFFE044), 1.0f to Color(0xFFFFDD32), start = 44 | Offset(9.5f,3.0f), end = Offset(9.5f,12.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(9.5f, 7.5f) 48 | moveToRelative(-4.5f, 0.0f) 49 | arcToRelative(4.5f, 4.5f, 0.0f, true, true, 9.0f, 0.0f) 50 | arcToRelative(4.5f, 4.5f, 0.0f, true, true, -9.0f, 0.0f) 51 | } 52 | } 53 | .build() 54 | return _pw!! 55 | } 56 | 57 | private var _pw: ImageVector? = null 58 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # [kmp-flagkit](https://github.com/acarlsen/kmp-flagkit) 2 | ![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/acarlsen/kmp-flagkit/build.yml) 3 | [![Maven Central](https://img.shields.io/maven-central/v/dev.carlsen.flagkit/flagkit)](https://central.sonatype.com/namespace/dev.carlsen.flagkit) 4 | [![Kotlin version](https://img.shields.io/badge/Kotlin-2.0.20-blueviolet?logo=kotlin&logoColor=white)](http://kotlinlang.org) 5 | [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) 6 | ![badge][badge-jvm] 7 | ![badge][badge-android] 8 | ![badge][badge-ios] 9 | ![badge][badge-mac] 10 | ![badge][badge-js] 11 | ![badge][badge-wasm] 12 | 13 | Flag icons in ImageVector format to use in Kotlin Multiplatform. 14 | 15 | With heavy inspiration from the [FlagKit](https://github.com/madebybowtie/FlagKit) and [flagkit-android](https://github.com/murgupluoglu/flagkit-android) libraries. 16 | 17 | ## Platform Support 18 | - Android 19 | - Desktop 20 | - iOS 21 | - MacOS Native 22 | - Web (JSCanvas) 23 | - WebAssembly (Wasm) 24 | 25 | ## To use in your project 26 | 27 | Add the repository: 28 | ```kotlin 29 | repositories { 30 | mavenCentral() 31 | } 32 | ``` 33 | 34 | Put in your dependencies block: 35 | 36 | ```kotlin 37 | implementation("dev.carlsen.flagkit:flagkit:1.1.0") 38 | ``` 39 | 40 | ## How to use 41 | 42 | Country flags can be referenced by the [Alpha-2 code](https://www.iban.com/country-codes) for each country. 43 | 44 | There are also a few other flags available. 45 | 46 | | Country/state | Code | 47 | |------------------|:-------:| 48 | | England | GB-ENG | 49 | | Northern Ireland | GB-NIR | 50 | | Scotland | GB-SCT | 51 | | Wales | GB-WLS | 52 | | Shetland | GB-ZET | 53 | | California | US-CA | 54 | 55 | ### Use Flag directly 56 | ```kotlin 57 | Image( 58 | imageVector = FlagIcons.DK, 59 | contentDescription = "Denmark", 60 | ) 61 | ``` 62 | 63 | ### Lookup flag by country code 64 | ```kotlin 65 | Image( 66 | imageVector = FlagKit.getFlag(countryCode = "DK"), 67 | contentDescription = "Denmark", 68 | ) 69 | ``` 70 | 71 | [badge-android]: http://img.shields.io/badge/android-6EDB8D.svg?style=flat 72 | 73 | [badge-ios]: http://img.shields.io/badge/ios-CDCDCD.svg?style=flat 74 | 75 | [badge-js]: http://img.shields.io/badge/js-F8DB5D.svg?style=flat 76 | 77 | [badge-jvm]: http://img.shields.io/badge/jvm-DB413D.svg?style=flat 78 | 79 | [badge-linux]: http://img.shields.io/badge/linux-2D3F6C.svg?style=flat 80 | 81 | [badge-windows]: http://img.shields.io/badge/windows-4D76CD.svg?style=flat 82 | 83 | [badge-mac]: http://img.shields.io/badge/macos-111111.svg?style=flat 84 | 85 | [badge-watchos]: http://img.shields.io/badge/watchos-C0C0C0.svg?style=flat 86 | 87 | [badge-tvos]: http://img.shields.io/badge/tvos-808080.svg?style=flat 88 | 89 | [badge-wasm]: https://img.shields.io/badge/wasm-624FE8.svg?style=flat 90 | 91 | [badge-nodejs]: https://img.shields.io/badge/nodejs-68a063.svg?style=flat 92 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/SO.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.SO: ImageVector 17 | get() { 18 | if (_so != null) { 19 | return _so!! 20 | } 21 | _so = Builder(name = "So", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF5D9FE9), 1.0f to Color(0xFF458BDB), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 44 | Offset(10.5001f,3.0000002f), end = Offset(10.5001f,11.1406f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(10.5f, 9.255f) 48 | lineToRelative(-2.645f, 1.8856f) 49 | lineToRelative(0.9759f, -3.0983f) 50 | lineToRelative(-2.6106f, -1.9329f) 51 | lineToRelative(3.2482f, -0.0292f) 52 | lineToRelative(1.0316f, -3.0802f) 53 | lineToRelative(1.0316f, 3.0802f) 54 | lineToRelative(3.2482f, 0.0292f) 55 | lineToRelative(-2.6107f, 1.9329f) 56 | lineToRelative(0.9759f, 3.0983f) 57 | close() 58 | } 59 | } 60 | .build() 61 | return _so!! 62 | } 63 | 64 | private var _so: ImageVector? = null 65 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/VN.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.VN: ImageVector 17 | get() { 18 | if (_vn != null) { 19 | return _vn!! 20 | } 21 | _vn = Builder(name = "Vn", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFEA403F), 1.0f to Color(0xFFD82827), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFFFFE4E), 1.0f to Color(0xFFFFFE38), start = 44 | Offset(10.5001f,3.0000002f), end = Offset(10.5001f,11.1406f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(10.5f, 9.255f) 48 | lineToRelative(-2.645f, 1.8856f) 49 | lineToRelative(0.9759f, -3.0983f) 50 | lineToRelative(-2.6106f, -1.9329f) 51 | lineToRelative(3.2482f, -0.0292f) 52 | lineToRelative(1.0316f, -3.0802f) 53 | lineToRelative(1.0316f, 3.0802f) 54 | lineToRelative(3.2482f, 0.0292f) 55 | lineToRelative(-2.6107f, 1.9329f) 56 | lineToRelative(0.9759f, 3.0983f) 57 | close() 58 | } 59 | } 60 | .build() 61 | return _vn!! 62 | } 63 | 64 | private var _vn: ImageVector? = null 65 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/DK.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.DK: ImageVector 17 | get() { 18 | if (_dk != null) { 19 | return _dk!! 20 | } 21 | _dk = Builder(name = "Dk", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFEF264D), 1.0f to Color(0xFFE1143C), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 44 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 9.0f) 48 | lineToRelative(6.0f, 0.0f) 49 | lineToRelative(0.0f, 6.0f) 50 | lineToRelative(3.0f, 0.0f) 51 | lineToRelative(0.0f, -6.0f) 52 | lineToRelative(12.0f, 0.0f) 53 | lineToRelative(0.0f, -3.0f) 54 | lineToRelative(-12.0f, 0.0f) 55 | lineToRelative(0.0f, -6.0f) 56 | lineToRelative(-3.0f, 0.0f) 57 | lineToRelative(0.0f, 6.0f) 58 | lineToRelative(-6.0f, 0.0f) 59 | close() 60 | } 61 | } 62 | .build() 63 | return _dk!! 64 | } 65 | 66 | private var _dk: ImageVector? = null 67 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/SE.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.SE: ImageVector 17 | get() { 18 | if (_se != null) { 19 | return _se!! 20 | } 21 | _se = Builder(name = "Se", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF157CBB), 1.0f to Color(0xFF0E6CA5), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFFFD34D), 1.0f to Color(0xFFFECB2F), start = 44 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 9.0f) 48 | lineToRelative(6.0f, 0.0f) 49 | lineToRelative(0.0f, 6.0f) 50 | lineToRelative(3.0f, 0.0f) 51 | lineToRelative(0.0f, -6.0f) 52 | lineToRelative(12.0f, 0.0f) 53 | lineToRelative(0.0f, -3.0f) 54 | lineToRelative(-12.0f, 0.0f) 55 | lineToRelative(0.0f, -6.0f) 56 | lineToRelative(-3.0f, 0.0f) 57 | lineToRelative(0.0f, 6.0f) 58 | lineToRelative(-6.0f, 0.0f) 59 | close() 60 | } 61 | } 62 | .build() 63 | return _se!! 64 | } 65 | 66 | private var _se: ImageVector? = null 67 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/GBZET.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.GB_ZET: ImageVector 17 | get() { 18 | if (_gbZet != null) { 19 | return _gbZet!! 20 | } 21 | _gbZet = Builder(name = "GbZet", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, 22 | viewportWidth = 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF187AE5), 1.0f to Color(0xFF0F68C9), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 44 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 9.0f) 48 | lineToRelative(6.0f, 0.0f) 49 | lineToRelative(0.0f, 6.0f) 50 | lineToRelative(3.0f, 0.0f) 51 | lineToRelative(0.0f, -6.0f) 52 | lineToRelative(12.0f, 0.0f) 53 | lineToRelative(0.0f, -3.0f) 54 | lineToRelative(-12.0f, 0.0f) 55 | lineToRelative(0.0f, -6.0f) 56 | lineToRelative(-3.0f, 0.0f) 57 | lineToRelative(0.0f, 6.0f) 58 | lineToRelative(-6.0f, 0.0f) 59 | close() 60 | } 61 | } 62 | .build() 63 | return _gbZet!! 64 | } 65 | 66 | private var _gbZet: ImageVector? = null 67 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/GBSCT.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.GB_SCT: ImageVector 17 | get() { 18 | if (_gbSct != null) { 19 | return _gbSct!! 20 | } 21 | _gbSct = Builder(name = "GbSct", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, 22 | viewportWidth = 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF1479D0), 1.0f to Color(0xFF0A68BA), start = 34 | Offset(10.5002f,-0.0027f), end = Offset(10.5002f,14.9973f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(2.0E-4f, -0.0027f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 44 | Offset(10.50025f,-1.44f), end = Offset(10.50025f,16.4347f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(10.5002f, 6.2911f) 48 | lineTo(-0.9616f, -1.44f) 49 | lineTo(-2.08f, 0.2181f) 50 | lineTo(8.7119f, 7.4973f) 51 | lineTo(-2.08f, 14.7766f) 52 | lineTo(-0.9616f, 16.4347f) 53 | lineTo(10.5002f, 8.7036f) 54 | lineTo(21.9621f, 16.4347f) 55 | lineTo(23.0805f, 14.7766f) 56 | lineTo(12.2885f, 7.4973f) 57 | lineTo(23.0805f, 0.2181f) 58 | lineTo(21.9621f, -1.44f) 59 | lineTo(10.5002f, 6.2911f) 60 | close() 61 | } 62 | } 63 | .build() 64 | return _gbSct!! 65 | } 66 | 67 | private var _gbSct: ImageVector? = null 68 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/CZ.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.CZ: ImageVector 17 | get() { 18 | if (_cz != null) { 19 | return _cz!! 20 | } 21 | _cz = Builder(name = "Cz", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFE8252A), 1.0f to Color(0xFFD7151A), start = 34 | Offset(10.5f,7.0f), end = Offset(10.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 7.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(8.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 44 | Offset(10.5f,0.0f), end = Offset(10.5f,7.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(7.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFF17579E), 1.0f to Color(0xFF10457F), start = 54 | Offset(5.0f,0.0f), end = Offset(5.0f,15.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(0.0f, 0.0f) 58 | lineToRelative(10.0f, 7.5f) 59 | lineToRelative(-10.0f, 7.5f) 60 | close() 61 | } 62 | } 63 | .build() 64 | return _cz!! 65 | } 66 | 67 | private var _cz: ImageVector? = null 68 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/BE.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.BE: ImageVector 17 | get() { 18 | if (_be != null) { 19 | return _be!! 20 | } 21 | _be = Builder(name = "Be", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFFF4453), 1.0f to Color(0xFFEE2A39), start = 34 | Offset(15.5f,0.0f), end = Offset(15.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(10.0f, 0.0f) 38 | horizontalLineToRelative(11.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-11.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFF262626), 1.0f to Color(0xFF0D0D0D), start = 44 | Offset(3.5f,0.0f), end = Offset(3.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(7.0f) 49 | verticalLineToRelative(15.0f) 50 | horizontalLineToRelative(-7.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFCF3C), 1.0f to Color(0xFFFECB2F), start = 54 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(7.0f, 0.0f) 58 | horizontalLineToRelative(7.0f) 59 | verticalLineToRelative(15.0f) 60 | horizontalLineToRelative(-7.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _be!! 66 | } 67 | 68 | private var _be: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/BJ.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.BJ: ImageVector 17 | get() { 18 | if (_bj != null) { 19 | return _bj!! 20 | } 21 | _bj = Builder(name = "Bj", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFF12641), 1.0f to Color(0xFFE71834), start = 34 | Offset(10.5f,7.0f), end = Offset(10.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 7.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(8.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFFFD648), 1.0f to Color(0xFFFCD036), start = 44 | Offset(10.5f,0.0f), end = Offset(10.5f,7.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(7.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFF17A668), 1.0f to Color(0xFF118653), start = 54 | Offset(4.0f,0.0f), end = Offset(4.0f,15.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(0.0f, 0.0f) 58 | horizontalLineToRelative(8.0f) 59 | verticalLineToRelative(15.0f) 60 | horizontalLineToRelative(-8.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _bj!! 66 | } 67 | 68 | private var _bj: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/CI.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.CI: ImageVector 17 | get() { 18 | if (_ci != null) { 19 | return _ci!! 20 | } 21 | _ci = Builder(name = "Ci", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF1DC87D), 1.0f to Color(0xFF169E62), start = 34 | Offset(15.5f,0.0f), end = Offset(15.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(10.0f, 0.0f) 38 | horizontalLineToRelative(11.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-11.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFF89242), 1.0f to Color(0xFFF67F22), start = 44 | Offset(3.5f,0.0f), end = Offset(3.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(7.0f) 49 | verticalLineToRelative(15.0f) 50 | horizontalLineToRelative(-7.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 54 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(7.0f, 0.0f) 58 | horizontalLineToRelative(7.0f) 59 | verticalLineToRelative(15.0f) 60 | horizontalLineToRelative(-7.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _ci!! 66 | } 67 | 68 | private var _ci: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/FR.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.FR: ImageVector 17 | get() { 18 | if (_fr != null) { 19 | return _fr!! 20 | } 21 | _fr = Builder(name = "Fr", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFF44653), 1.0f to Color(0xFFEE2A39), start = 34 | Offset(15.5f,0.0f), end = Offset(15.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(10.0f, 0.0f) 38 | horizontalLineToRelative(11.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-11.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFF1035BB), 1.0f to Color(0xFF042396), start = 44 | Offset(3.5f,0.0f), end = Offset(3.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(7.0f) 49 | verticalLineToRelative(15.0f) 50 | horizontalLineToRelative(-7.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 54 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(7.0f, 0.0f) 58 | horizontalLineToRelative(7.0f) 59 | verticalLineToRelative(15.0f) 60 | horizontalLineToRelative(-7.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _fr!! 66 | } 67 | 68 | private var _fr: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/GN.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.GN: ImageVector 17 | get() { 18 | if (_gn != null) { 19 | return _gn!! 20 | } 21 | _gn = Builder(name = "Gn", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF1DBE5E), 1.0f to Color(0xFF169E4D), start = 34 | Offset(15.5f,0.0f), end = Offset(15.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(10.0f, 0.0f) 38 | horizontalLineToRelative(11.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-11.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFE72B42), 1.0f to Color(0xFFCC162C), start = 44 | Offset(3.5f,0.0f), end = Offset(3.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(7.0f) 49 | verticalLineToRelative(15.0f) 50 | horizontalLineToRelative(-7.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFD952), 1.0f to Color(0xFFFCD036), start = 54 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(7.0f, 0.0f) 58 | horizontalLineToRelative(7.0f) 59 | verticalLineToRelative(15.0f) 60 | horizontalLineToRelative(-7.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _gn!! 66 | } 67 | 68 | private var _gn: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/IE.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.IE: ImageVector 17 | get() { 18 | if (_ie != null) { 19 | return _ie!! 20 | } 21 | _ie = Builder(name = "Ie", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFFF8515), 1.0f to Color(0xFFFF7A00), start = 34 | Offset(15.5f,0.0f), end = Offset(15.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(10.0f, 0.0f) 38 | horizontalLineToRelative(11.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-11.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFF07BB59), 1.0f to Color(0xFF029C48), start = 44 | Offset(3.5f,0.0f), end = Offset(3.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(7.0f) 49 | verticalLineToRelative(15.0f) 50 | horizontalLineToRelative(-7.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 54 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(7.0f, 0.0f) 58 | horizontalLineToRelative(7.0f) 59 | verticalLineToRelative(15.0f) 60 | horizontalLineToRelative(-7.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _ie!! 66 | } 67 | 68 | private var _ie: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/IT.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.IT: ImageVector 17 | get() { 18 | if (_it != null) { 19 | return _it!! 20 | } 21 | _it = Builder(name = "It", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFE43D4C), 1.0f to Color(0xFFCC2E3C), start = 34 | Offset(15.5f,0.0f), end = Offset(15.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(10.0f, 0.0f) 38 | horizontalLineToRelative(11.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-11.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFF1BB65D), 1.0f to Color(0xFF139149), start = 44 | Offset(3.5f,0.0f), end = Offset(3.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(7.0f) 49 | verticalLineToRelative(15.0f) 50 | horizontalLineToRelative(-7.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 54 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(7.0f, 0.0f) 58 | horizontalLineToRelative(7.0f) 59 | verticalLineToRelative(15.0f) 60 | horizontalLineToRelative(-7.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _it!! 66 | } 67 | 68 | private var _it: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/LV.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.LV: ImageVector 17 | get() { 18 | if (_lv != null) { 19 | return _lv!! 20 | } 21 | _lv = Builder(name = "Lv", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFB9414B), 1.0f to Color(0xFF9D323B), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,6.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(6.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFB9414B), 1.0f to Color(0xFF9D323B), start = 44 | Offset(10.5f,9.0f), end = Offset(10.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 9.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(6.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 54 | Offset(10.5f,6.0f), end = Offset(10.5f,9.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(0.0f, 6.0f) 58 | horizontalLineToRelative(21.0f) 59 | verticalLineToRelative(3.0f) 60 | horizontalLineToRelative(-21.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _lv!! 66 | } 67 | 68 | private var _lv: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/MF.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.MF: ImageVector 17 | get() { 18 | if (_mf != null) { 19 | return _mf!! 20 | } 21 | _mf = Builder(name = "Mf", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFF44653), 1.0f to Color(0xFFEE2A39), start = 34 | Offset(15.5f,0.0f), end = Offset(15.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(10.0f, 0.0f) 38 | horizontalLineToRelative(11.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-11.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFF1035BB), 1.0f to Color(0xFF042396), start = 44 | Offset(3.5f,0.0f), end = Offset(3.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(7.0f) 49 | verticalLineToRelative(15.0f) 50 | horizontalLineToRelative(-7.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 54 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(7.0f, 0.0f) 58 | horizontalLineToRelative(7.0f) 59 | verticalLineToRelative(15.0f) 60 | horizontalLineToRelative(-7.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _mf!! 66 | } 67 | 68 | private var _mf: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/MG.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.MG: ImageVector 17 | get() { 18 | if (_mg != null) { 19 | return _mg!! 20 | } 21 | _mg = Builder(name = "Mg", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF149047), 1.0f to Color(0xFF0F7E3D), start = 34 | Offset(10.5f,7.0f), end = Offset(10.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 7.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(8.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFF84F4B), 1.0f to Color(0xFFFA3F3B), start = 44 | Offset(10.5f,0.0f), end = Offset(10.5f,7.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(7.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 54 | Offset(3.5f,0.0f), end = Offset(3.5f,15.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(0.0f, 0.0f) 58 | horizontalLineToRelative(7.0f) 59 | verticalLineToRelative(15.0f) 60 | horizontalLineToRelative(-7.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _mg!! 66 | } 67 | 68 | private var _mg: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/ML.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.ML: ImageVector 17 | get() { 18 | if (_ml != null) { 19 | return _ml!! 20 | } 21 | _ml = Builder(name = "Ml", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFE2233A), 1.0f to Color(0xFFCC162C), start = 34 | Offset(15.5f,0.0f), end = Offset(15.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(10.0f, 0.0f) 38 | horizontalLineToRelative(11.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-11.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFF2ECB4D), 1.0f to Color(0xFF24B441), start = 44 | Offset(3.5f,0.0f), end = Offset(3.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(7.0f) 49 | verticalLineToRelative(15.0f) 50 | horizontalLineToRelative(-7.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFD749), 1.0f to Color(0xFFFCD036), start = 54 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(7.0f, 0.0f) 58 | horizontalLineToRelative(7.0f) 59 | verticalLineToRelative(15.0f) 60 | horizontalLineToRelative(-7.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _ml!! 66 | } 67 | 68 | private var _ml: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/NG.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.NG: ImageVector 17 | get() { 18 | if (_ng != null) { 19 | return _ng!! 20 | } 21 | _ng = Builder(name = "Ng", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF189B62), 1.0f to Color(0xFF118653), start = 34 | Offset(15.5f,0.0f), end = Offset(15.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(10.0f, 0.0f) 38 | horizontalLineToRelative(11.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-11.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFF189B62), 1.0f to Color(0xFF118653), start = 44 | Offset(3.5f,0.0f), end = Offset(3.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(7.0f) 49 | verticalLineToRelative(15.0f) 50 | horizontalLineToRelative(-7.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 54 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(7.0f, 0.0f) 58 | horizontalLineToRelative(7.0f) 59 | verticalLineToRelative(15.0f) 60 | horizontalLineToRelative(-7.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _ng!! 66 | } 67 | 68 | private var _ng: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/PE.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.PE: ImageVector 17 | get() { 18 | if (_pe != null) { 19 | return _pe!! 20 | } 21 | _pe = Builder(name = "Pe", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFE82438), 1.0f to Color(0xFFD7172B), start = 34 | Offset(15.5f,0.0f), end = Offset(15.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(10.0f, 0.0f) 38 | horizontalLineToRelative(11.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-11.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFE82438), 1.0f to Color(0xFFD7172B), start = 44 | Offset(3.5f,0.0f), end = Offset(3.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(7.0f) 49 | verticalLineToRelative(15.0f) 50 | horizontalLineToRelative(-7.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 54 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(7.0f, 0.0f) 58 | horizontalLineToRelative(7.0f) 59 | verticalLineToRelative(15.0f) 60 | horizontalLineToRelative(-7.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _pe!! 66 | } 67 | 68 | private var _pe: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/RE.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.RE: ImageVector 17 | get() { 18 | if (_re != null) { 19 | return _re!! 20 | } 21 | _re = Builder(name = "Re", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFF44653), 1.0f to Color(0xFFEE2A39), start = 34 | Offset(15.5f,0.0f), end = Offset(15.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(10.0f, 0.0f) 38 | horizontalLineToRelative(11.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-11.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFF1035BB), 1.0f to Color(0xFF042396), start = 44 | Offset(3.5f,0.0f), end = Offset(3.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(7.0f) 49 | verticalLineToRelative(15.0f) 50 | horizontalLineToRelative(-7.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 54 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(7.0f, 0.0f) 58 | horizontalLineToRelative(7.0f) 59 | verticalLineToRelative(15.0f) 60 | horizontalLineToRelative(-7.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _re!! 66 | } 67 | 68 | private var _re: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/RO.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.RO: ImageVector 17 | get() { 18 | if (_ro != null) { 19 | return _ro!! 20 | } 21 | _ro = Builder(name = "Ro", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFE5253D), 1.0f to Color(0xFFCC162C), start = 34 | Offset(15.5f,0.0f), end = Offset(15.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(10.0f, 0.0f) 38 | horizontalLineToRelative(11.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-11.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFF0A3D9C), 1.0f to Color(0xFF042E7D), start = 44 | Offset(3.5f,0.0f), end = Offset(3.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(7.0f) 49 | verticalLineToRelative(15.0f) 50 | horizontalLineToRelative(-7.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFD955), 1.0f to Color(0xFFFCD036), start = 54 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(7.0f, 0.0f) 58 | horizontalLineToRelative(7.0f) 59 | verticalLineToRelative(15.0f) 60 | horizontalLineToRelative(-7.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _ro!! 66 | } 67 | 68 | private var _ro: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/TD.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.TD: ImageVector 17 | get() { 18 | if (_td != null) { 19 | return _td!! 20 | } 21 | _td = Builder(name = "Td", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFDE1D42), 1.0f to Color(0xFFC51335), start = 34 | Offset(15.5f,0.0f), end = Offset(15.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(10.0f, 0.0f) 38 | horizontalLineToRelative(11.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-11.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFF083780), 1.0f to Color(0xFF032862), start = 44 | Offset(3.5f,0.0f), end = Offset(3.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(7.0f) 49 | verticalLineToRelative(15.0f) 50 | horizontalLineToRelative(-7.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFD147), 1.0f to Color(0xFFFECA2F), start = 54 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(7.0f, 0.0f) 58 | horizontalLineToRelative(7.0f) 59 | verticalLineToRelative(15.0f) 60 | horizontalLineToRelative(-7.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _td!! 66 | } 67 | 68 | private var _td: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/WF.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.WF: ImageVector 17 | get() { 18 | if (_wf != null) { 19 | return _wf!! 20 | } 21 | _wf = Builder(name = "Wf", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFF44653), 1.0f to Color(0xFFEE2A39), start = 34 | Offset(15.5f,0.0f), end = Offset(15.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(10.0f, 0.0f) 38 | horizontalLineToRelative(11.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-11.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFF1035BB), 1.0f to Color(0xFF042396), start = 44 | Offset(3.5f,0.0f), end = Offset(3.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(7.0f) 49 | verticalLineToRelative(15.0f) 50 | horizontalLineToRelative(-7.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 54 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(7.0f, 0.0f) 58 | horizontalLineToRelative(7.0f) 59 | verticalLineToRelative(15.0f) 60 | horizontalLineToRelative(-7.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _wf!! 66 | } 67 | 68 | private var _wf: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/AM.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.AM: ImageVector 17 | get() { 18 | if (_am != null) { 19 | return _am!! 20 | } 21 | _am = Builder(name = "Am", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF1047B9), 1.0f to Color(0xFF06379D), start = 34 | Offset(10.5f,5.0f), end = Offset(10.5f,10.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 5.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(5.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFF01C31), 1.0f to Color(0xFFD70A1F), start = 44 | Offset(10.5f,0.0f), end = Offset(10.5f,5.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(5.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFF5B23E), 1.0f to Color(0xFFF0A728), start = 54 | Offset(10.5f,10.0f), end = Offset(10.5f,15.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(0.0f, 10.0f) 58 | horizontalLineToRelative(21.0f) 59 | verticalLineToRelative(5.0f) 60 | horizontalLineToRelative(-21.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _am!! 66 | } 67 | 68 | private var _am: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/AT.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.AT: ImageVector 17 | get() { 18 | if (_at != null) { 19 | return _at!! 20 | } 21 | _at = Builder(name = "At", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFF64253), 1.0f to Color(0xFFEA2D3F), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,5.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(5.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFF64253), 1.0f to Color(0xFFEA2D3F), start = 44 | Offset(10.5f,10.0f), end = Offset(10.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 10.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(5.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 54 | Offset(10.5f,5.0f), end = Offset(10.5f,10.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(0.0f, 5.0f) 58 | horizontalLineToRelative(21.0f) 59 | verticalLineToRelative(5.0f) 60 | horizontalLineToRelative(-21.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _at!! 66 | } 67 | 68 | private var _at: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/BG.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.BG: ImageVector 17 | get() { 18 | if (_bg != null) { 19 | return _bg!! 20 | } 21 | _bg = Builder(name = "Bg", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF06A77C), 1.0f to Color(0xFF00966E), start = 34 | Offset(10.5f,5.0f), end = Offset(10.5f,10.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 5.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(5.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFE32E19), 1.0f to Color(0xFFD62612), start = 44 | Offset(10.5f,10.0f), end = Offset(10.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 10.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(5.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 54 | Offset(10.5f,0.0f), end = Offset(10.5f,5.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(0.0f, 0.0f) 58 | horizontalLineToRelative(21.0f) 59 | verticalLineToRelative(5.0f) 60 | horizontalLineToRelative(-21.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _bg!! 66 | } 67 | 68 | private var _bg: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/BO.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.BO: ImageVector 17 | get() { 18 | if (_bo != null) { 19 | return _bo!! 20 | } 21 | _bo = Builder(name = "Bo", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF058C3F), 1.0f to Color(0xFF007A34), start = 34 | Offset(10.5f,10.0f), end = Offset(10.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 10.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(5.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFE63426), 1.0f to Color(0xFFD52B1E), start = 44 | Offset(10.5f,0.0f), end = Offset(10.5f,5.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(5.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFEB1F), 1.0f to Color(0xFFFAE400), start = 54 | Offset(10.5f,5.0f), end = Offset(10.5f,10.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(0.0f, 5.0f) 58 | horizontalLineToRelative(21.0f) 59 | verticalLineToRelative(5.0f) 60 | horizontalLineToRelative(-21.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _bo!! 66 | } 67 | 68 | private var _bo: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/CO.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.CO: ImageVector 17 | get() { 18 | if (_co != null) { 19 | return _co!! 20 | } 21 | _co = Builder(name = "Co", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF0748AE), 1.0f to Color(0xFF003993), start = 34 | Offset(10.5f,7.0f), end = Offset(10.5f,11.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 7.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(4.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFDE2035), 1.0f to Color(0xFFCE1126), start = 44 | Offset(10.5f,11.0f), end = Offset(10.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 11.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(4.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFD935), 1.0f to Color(0xFFFDD216), start = 54 | Offset(10.5f,0.0f), end = Offset(10.5f,7.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(0.0f, 0.0f) 58 | horizontalLineToRelative(21.0f) 59 | verticalLineToRelative(7.0f) 60 | horizontalLineToRelative(-21.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _co!! 66 | } 67 | 68 | private var _co: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/DE.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.DE: ImageVector 17 | get() { 18 | if (_de != null) { 19 | return _de!! 20 | } 21 | _de = Builder(name = "De", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF262626), 1.0f to Color(0xFF0D0D0D), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,5.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(5.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFF01515), 1.0f to Color(0xFFDE0000), start = 44 | Offset(10.5f,5.0f), end = Offset(10.5f,10.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 5.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(5.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFD521), 1.0f to Color(0xFFFFCF00), start = 54 | Offset(10.5f,10.0f), end = Offset(10.5f,15.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(0.0f, 10.0f) 58 | horizontalLineToRelative(21.0f) 59 | verticalLineToRelative(5.0f) 60 | horizontalLineToRelative(-21.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _de!! 66 | } 67 | 68 | private var _de: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/EE.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.EE: ImageVector 17 | get() { 18 | if (_ee != null) { 19 | return _ee!! 20 | } 21 | _ee = Builder(name = "Ee", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF262626), 1.0f to Color(0xFF0D0D0D), start = 34 | Offset(10.5f,5.0f), end = Offset(10.5f,10.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 5.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(5.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFF5DA8F1), 1.0f to Color(0xFF4892DA), start = 44 | Offset(10.5f,0.0f), end = Offset(10.5f,5.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 0.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(5.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 54 | Offset(10.5f,10.0f), end = Offset(10.5f,15.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(0.0f, 10.0f) 58 | horizontalLineToRelative(21.0f) 59 | verticalLineToRelative(5.0f) 60 | horizontalLineToRelative(-21.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _ee!! 66 | } 67 | 68 | private var _ee: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/GA.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.GA: ImageVector 17 | get() { 18 | if (_ga != null) { 19 | return _ga!! 20 | } 21 | _ga = Builder(name = "Ga", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF09B470), 1.0f to Color(0xFF019F60), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,5.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(5.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFF508CDE), 1.0f to Color(0xFF3A75C5), start = 44 | Offset(10.5f,10.0f), end = Offset(10.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 10.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(5.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFD935), 1.0f to Color(0xFFFDD216), start = 54 | Offset(10.5f,5.0f), end = Offset(10.5f,10.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(0.0f, 5.0f) 58 | horizontalLineToRelative(21.0f) 59 | verticalLineToRelative(5.0f) 60 | horizontalLineToRelative(-21.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _ga!! 66 | } 67 | 68 | private var _ga: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/HU.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.HU: ImageVector 17 | get() { 18 | if (_hu != null) { 19 | return _hu!! 20 | } 21 | _hu = Builder(name = "Hu", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFE03D52), 1.0f to Color(0xFFCD2A3F), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,5.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(5.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFF5A9165), 1.0f to Color(0xFF44704D), start = 44 | Offset(10.5f,10.0f), end = Offset(10.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 10.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(5.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 54 | Offset(10.5f,5.0f), end = Offset(10.5f,10.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(0.0f, 5.0f) 58 | horizontalLineToRelative(21.0f) 59 | verticalLineToRelative(5.0f) 60 | horizontalLineToRelative(-21.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _hu!! 66 | } 67 | 68 | private var _hu: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/LT.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.LT: ImageVector 17 | get() { 18 | if (_lt != null) { 19 | return _lt!! 20 | } 21 | _lt = Builder(name = "Lt", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF118357), 1.0f to Color(0xFF0B6A45), start = 34 | Offset(10.5f,5.0f), end = Offset(10.5f,10.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 5.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(5.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFD8343D), 1.0f to Color(0xFFC02A32), start = 44 | Offset(10.5f,10.0f), end = Offset(10.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 10.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(5.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFEC34B), 1.0f to Color(0xFFFCB931), start = 54 | Offset(10.5f,0.0f), end = Offset(10.5f,5.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(0.0f, 0.0f) 58 | horizontalLineToRelative(21.0f) 59 | verticalLineToRelative(5.0f) 60 | horizontalLineToRelative(-21.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _lt!! 66 | } 67 | 68 | private var _lt: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/LU.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.LU: ImageVector 17 | get() { 18 | if (_lu != null) { 19 | return _lu!! 20 | } 21 | _lu = Builder(name = "Lu", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFF14455), 1.0f to Color(0xFFEB2D3F), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,5.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(5.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFF29B4EE), 1.0f to Color(0xFF1AA3DC), start = 44 | Offset(10.5f,10.0f), end = Offset(10.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 10.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(5.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 54 | Offset(10.5f,5.0f), end = Offset(10.5f,10.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(0.0f, 5.0f) 58 | horizontalLineToRelative(21.0f) 59 | verticalLineToRelative(5.0f) 60 | horizontalLineToRelative(-21.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _lu!! 66 | } 67 | 68 | private var _lu: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/NL.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.NL: ImageVector 17 | get() { 18 | if (_nl != null) { 19 | return _nl!! 20 | } 21 | _nl = Builder(name = "Nl", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFCA2B39), 1.0f to Color(0xFFAC1F2C), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,5.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(5.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFF2C56A2), 1.0f to Color(0xFF244889), start = 44 | Offset(10.5f,10.0f), end = Offset(10.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 10.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(5.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 54 | Offset(10.5f,5.0f), end = Offset(10.5f,10.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(0.0f, 5.0f) 58 | horizontalLineToRelative(21.0f) 59 | verticalLineToRelative(5.0f) 60 | horizontalLineToRelative(-21.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _nl!! 66 | } 67 | 68 | private var _nl: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/RU.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.RU: ImageVector 17 | get() { 18 | if (_ru != null) { 19 | return _ru!! 20 | } 21 | _ru = Builder(name = "Ru", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF0C47B7), 1.0f to Color(0xFF073DA4), start = 34 | Offset(10.5f,5.0f), end = Offset(10.5f,10.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 5.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(5.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFE53B35), 1.0f to Color(0xFFD32E28), start = 44 | Offset(10.5f,10.0f), end = Offset(10.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 10.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(5.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 54 | Offset(10.5f,0.0f), end = Offset(10.5f,5.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(0.0f, 0.0f) 58 | horizontalLineToRelative(21.0f) 59 | verticalLineToRelative(5.0f) 60 | horizontalLineToRelative(-21.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _ru!! 66 | } 67 | 68 | private var _ru: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/SL.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.SL: ImageVector 17 | get() { 18 | if (_sl != null) { 19 | return _sl!! 20 | } 21 | _sl = Builder(name = "Sl", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF35CE4F), 1.0f to Color(0xFF2AB441), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,5.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(5.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFF1C87DB), 1.0f to Color(0xFF1175C4), start = 44 | Offset(10.5f,10.0f), end = Offset(10.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 10.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(5.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 54 | Offset(10.5f,5.0f), end = Offset(10.5f,10.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(0.0f, 5.0f) 58 | horizontalLineToRelative(21.0f) 59 | verticalLineToRelative(5.0f) 60 | horizontalLineToRelative(-21.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _sl!! 66 | } 67 | 68 | private var _sl: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/YE.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.YE: ImageVector 17 | get() { 18 | if (_ye != null) { 19 | return _ye!! 20 | } 21 | _ye = Builder(name = "Ye", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFE32138), 1.0f to Color(0xFFCC162C), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,5.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(5.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFF262626), 1.0f to Color(0xFF0D0D0D), start = 44 | Offset(10.5f,10.0f), end = Offset(10.5f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 10.0f) 48 | horizontalLineToRelative(21.0f) 49 | verticalLineToRelative(5.0f) 50 | horizontalLineToRelative(-21.0f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 54 | Offset(10.5f,5.0f), end = Offset(10.5f,10.0f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(0.0f, 5.0f) 58 | horizontalLineToRelative(21.0f) 59 | verticalLineToRelative(5.0f) 60 | horizontalLineToRelative(-21.0f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _ye!! 66 | } 67 | 68 | private var _ye: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/BH.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.BH: ImageVector 17 | get() { 18 | if (_bh != null) { 19 | return _bh!! 20 | } 21 | _bh = Builder(name = "Bh", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFE7243B), 1.0f to Color(0xFFCC162C), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 44 | Offset(3.75f,0.0f), end = Offset(3.75f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 15.0f) 48 | lineToRelative(7.5f, 0.0f) 49 | lineToRelative(-1.5f, -1.0f) 50 | lineToRelative(1.5f, -1.0f) 51 | lineToRelative(-1.5f, -1.0f) 52 | lineToRelative(1.5f, -1.0f) 53 | lineToRelative(-1.5f, -1.0f) 54 | lineToRelative(1.5f, -1.0f) 55 | lineToRelative(-1.5f, -1.0f) 56 | lineToRelative(1.5f, -1.0f) 57 | lineToRelative(-1.5f, -1.0f) 58 | lineToRelative(1.5f, -1.0f) 59 | lineToRelative(-1.5f, -1.0f) 60 | lineToRelative(1.5f, -1.0f) 61 | lineToRelative(-1.5f, -1.0f) 62 | lineToRelative(1.5f, -1.0f) 63 | lineToRelative(-1.5f, -1.0f) 64 | lineToRelative(-6.0f, 0.0f) 65 | close() 66 | } 67 | } 68 | .build() 69 | return _bh!! 70 | } 71 | 72 | private var _bh: ImageVector? = null 73 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/QA.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.QA: ImageVector 17 | get() { 18 | if (_qa != null) { 19 | return _qa!! 20 | } 21 | _qa = Builder(name = "Qa", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFA6264C), 1.0f to Color(0xFF8C1E3E), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 44 | Offset(3.75f,0.0f), end = Offset(3.75f,15.0f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(0.0f, 15.0f) 48 | lineToRelative(7.5f, 0.0f) 49 | lineToRelative(-1.5f, -1.0f) 50 | lineToRelative(1.5f, -1.0f) 51 | lineToRelative(-1.5f, -1.0f) 52 | lineToRelative(1.5f, -1.0f) 53 | lineToRelative(-1.5f, -1.0f) 54 | lineToRelative(1.5f, -1.0f) 55 | lineToRelative(-1.5f, -1.0f) 56 | lineToRelative(1.5f, -1.0f) 57 | lineToRelative(-1.5f, -1.0f) 58 | lineToRelative(1.5f, -1.0f) 59 | lineToRelative(-1.5f, -1.0f) 60 | lineToRelative(1.5f, -1.0f) 61 | lineToRelative(-1.5f, -1.0f) 62 | lineToRelative(1.5f, -1.0f) 63 | lineToRelative(-1.5f, -1.0f) 64 | lineToRelative(-6.0f, 0.0f) 65 | close() 66 | } 67 | } 68 | .build() 69 | return _qa!! 70 | } 71 | 72 | private var _qa: ImageVector? = null 73 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/BN.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.BN: ImageVector 17 | get() { 18 | if (_bn != null) { 19 | return _bn!! 20 | } 21 | _bn = Builder(name = "Bn", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFFF7E250), 1.0f to Color(0xFFF7DF38), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 0.0f) 38 | horizontalLineToRelative(21.0f) 39 | verticalLineToRelative(15.0f) 40 | horizontalLineToRelative(-21.0f) 41 | close() 42 | } 43 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 44 | Offset(11.013f,-0.2784f), end = Offset(11.013f,12.459299f)), stroke = 45 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 46 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 47 | moveTo(-2.0995f, -0.2784f) 48 | lineToRelative(27.2511f, 9.9186f) 49 | lineToRelative(-1.0261f, 2.8191f) 50 | lineToRelative(-27.2511f, -9.9186f) 51 | close() 52 | } 53 | path(fill = linearGradient(0.0f to Color(0xFF262626), 1.0f to Color(0xFF0D0D0D), start = 54 | Offset(9.987f,2.5407f), end = Offset(9.987f,15.2784f)), stroke = 55 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 56 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 57 | moveTo(-3.1255f, 2.5407f) 58 | lineToRelative(27.2511f, 9.9186f) 59 | lineToRelative(-1.0261f, 2.8191f) 60 | lineToRelative(-27.2511f, -9.9186f) 61 | close() 62 | } 63 | } 64 | .build() 65 | return _bn!! 66 | } 67 | 68 | private var _bn: ImageVector? = null 69 | -------------------------------------------------------------------------------- /core/src/commonMain/kotlin/dev/carlsen/flagkit/flagicons/FO.kt: -------------------------------------------------------------------------------- 1 | package dev.carlsen.flagkit.flagicons 2 | 3 | import androidx.compose.ui.geometry.Offset 4 | import androidx.compose.ui.graphics.Brush.Companion.linearGradient 5 | import androidx.compose.ui.graphics.Color 6 | import androidx.compose.ui.graphics.PathFillType.Companion.EvenOdd 7 | import androidx.compose.ui.graphics.SolidColor 8 | import androidx.compose.ui.graphics.StrokeCap.Companion.Butt 9 | import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter 10 | import androidx.compose.ui.graphics.vector.ImageVector 11 | import androidx.compose.ui.graphics.vector.ImageVector.Builder 12 | import androidx.compose.ui.graphics.vector.path 13 | import androidx.compose.ui.unit.dp 14 | import dev.carlsen.flagkit.FlagIcons 15 | 16 | val FlagIcons.FO: ImageVector 17 | get() { 18 | if (_fo != null) { 19 | return _fo!! 20 | } 21 | _fo = Builder(name = "Fo", defaultWidth = 21.0.dp, defaultHeight = 15.0.dp, viewportWidth = 22 | 21.0f, viewportHeight = 15.0f).apply { 23 | path(fill = linearGradient(0.0f to Color(0xFFFFFFFF), 1.0f to Color(0xFFF0F0F0), start = 24 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 25 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 26 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 27 | moveTo(0.0f, 0.0f) 28 | horizontalLineToRelative(21.0f) 29 | verticalLineToRelative(15.0f) 30 | horizontalLineToRelative(-21.0f) 31 | close() 32 | } 33 | path(fill = linearGradient(0.0f to Color(0xFF1879D6), 1.0f to Color(0xFF0F67BB), start = 34 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 35 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 36 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 37 | moveTo(0.0f, 9.0f) 38 | lineToRelative(6.0f, 0.0f) 39 | lineToRelative(0.0f, 6.0f) 40 | lineToRelative(3.0f, 0.0f) 41 | lineToRelative(0.0f, -6.0f) 42 | lineToRelative(12.0f, 0.0f) 43 | lineToRelative(0.0f, -3.0f) 44 | lineToRelative(-12.0f, 0.0f) 45 | lineToRelative(0.0f, -6.0f) 46 | lineToRelative(-3.0f, 0.0f) 47 | lineToRelative(0.0f, 6.0f) 48 | lineToRelative(-6.0f, 0.0f) 49 | close() 50 | } 51 | path(fill = linearGradient(0.0f to Color(0xFFF13E4F), 1.0f to Color(0xFFEB2D3F), start = 52 | Offset(10.5f,0.0f), end = Offset(10.5f,15.0f)), stroke = 53 | SolidColor(Color(0x00000000)), strokeLineWidth = 1.0f, strokeLineCap = Butt, 54 | strokeLineJoin = Miter, strokeLineMiter = 4.0f, pathFillType = EvenOdd) { 55 | moveTo(0.0f, 8.0f) 56 | lineToRelative(7.0f, 0.0f) 57 | lineToRelative(0.0f, 7.0f) 58 | lineToRelative(1.0f, 0.0f) 59 | lineToRelative(0.0f, -7.0f) 60 | lineToRelative(13.0f, 0.0f) 61 | lineToRelative(0.0f, -1.0f) 62 | lineToRelative(-13.0f, 0.0f) 63 | lineToRelative(0.0f, -7.0f) 64 | lineToRelative(-1.0f, 0.0f) 65 | lineToRelative(0.0f, 7.0f) 66 | lineToRelative(-7.0f, 0.0f) 67 | close() 68 | } 69 | } 70 | .build() 71 | return _fo!! 72 | } 73 | 74 | private var _fo: ImageVector? = null 75 | --------------------------------------------------------------------------------