diff --git a/bezier/src/main/java/io/channel/bezier/icon/LegacyChannel.kt b/bezier/src/main/java/io/channel/bezier/icon/LegacyChannel.kt new file mode 100644 index 0000000..7906529 --- /dev/null +++ b/bezier/src/main/java/io/channel/bezier/icon/LegacyChannel.kt @@ -0,0 +1,98 @@ +@file:Suppress("ObjectPropertyName", "UnusedReceiverParameter") + +// Auto-generated by script/generate_compose_bezier_icon.py + +package io.channel.bezier.icon + +import androidx.compose.foundation.layout.size +import androidx.compose.material.Icon +import androidx.compose.runtime.Composable +import androidx.compose.ui.Modifier +import androidx.compose.ui.graphics.Color +import androidx.compose.ui.graphics.PathFillType +import androidx.compose.ui.graphics.SolidColor +import androidx.compose.ui.graphics.vector.ImageVector +import androidx.compose.ui.graphics.vector.path +import androidx.compose.ui.tooling.preview.Preview +import androidx.compose.ui.unit.dp +import io.channel.bezier.BezierIcon +import io.channel.bezier.BezierIcons + +val BezierIcons.LegacyChannel: BezierIcon + get() = object : BezierIcon { + override val imageVector: ImageVector + get() = _legacyChannel ?: ImageVector.Builder( + name = "LegacyChannel", + defaultWidth = 24.dp, + defaultHeight = 24.dp, + viewportWidth = 24f, + viewportHeight = 24f, + ).apply { + path( + fill = SolidColor(Color(0xFF313234)), + strokeLineWidth = 1f, + pathFillType = PathFillType.EvenOdd, + ) { + moveTo(21.133f, 17.247f) + lineTo(21.616f, 19.181f) + arcTo(1.99f, 1.99f, 345.8055331835199f, isMoreThanHalf = false, isPositiveArc = true, 21.089f, 21.081f) + arcTo(1.99f, 1.99f, 44.83329508633405f, isMoreThanHalf = false, isPositiveArc = true, 19.189f, 21.607f) + lineTo(17.256f, 21.125f) + arcTo(2.2f, 2.2f, 284.2641666796407f, isMoreThanHalf = false, isPositiveArc = false, 15.876000000000001f, 21.223f) + arcTo(9.9f, 9.9f, 67.14822560309321f, isMoreThanHalf = false, isPositiveArc = true, 12.009f, 22.0f) + lineTo(12.004f, 22.0f) + arcTo(9.95f, 9.95f, 89.92740588082974f, isMoreThanHalf = false, isPositiveArc = true, 4.938999999999999f, 19.069f) + arcTo(9.93f, 9.93f, 134.75101800642202f, isMoreThanHalf = false, isPositiveArc = true, 2.0f, 12.004f) + arcTo(9.94f, 9.94f, 179.82298639862887f, isMoreThanHalf = false, isPositiveArc = true, 4.928f, 4.928f) + arcTo(9.94f, 9.94f, 224.864189099838f, isMoreThanHalf = false, isPositiveArc = true, 12.001f, 2.0f) + lineTo(12.004f, 2.0f) + arcTo(9.92f, 9.92f, 269.9066789943324f, isMoreThanHalf = false, isPositiveArc = true, 19.069f, 4.9399999999999995f) + arcTo(9.93f, 9.93f, 314.8159249784581f, isMoreThanHalf = false, isPositiveArc = true, 22.0f, 12.006f) + curveTo(22.0f, 13.345f, 21.738f, 14.646f, 21.223f, 15.872f) + arcTo(2.2f, 2.2f, 202.3881897946248f, isMoreThanHalf = false, isPositiveArc = false, 21.125f, 17.252f) + close() + moveTo(12.006f, 4.216f) + lineTo(12.003f, 4.216f) + curveTo(9.925f, 4.216f, 7.97f, 5.026f, 6.503f, 6.496f) + arcTo(7.73f, 7.73f, 225.1670723620781f, isMoreThanHalf = false, isPositiveArc = false, 4.223000000000001f, 11.998000000000001f) + curveTo(4.223000000000001f, 14.067f, 5.0360000000000005f, 16.019000000000002f, 6.5120000000000005f, 17.492f) + arcTo(7.7f, 7.7f, 135.2809301271465f, isMoreThanHalf = false, isPositiveArc = false, 12.008000000000001f, 19.774f) + arcTo(7.75f, 7.75f, 90.0579862376116f, isMoreThanHalf = false, isPositiveArc = false, 15.013000000000002f, 19.171f) + arcTo(4.45f, 4.45f, 247.4931754257314f, isMoreThanHalf = false, isPositiveArc = true, 17.792f, 18.964f) + lineTo(19.008000000000003f, 19.267f) + curveTo(19.171000000000003f, 19.307f, 19.318f, 19.16f, 19.278000000000002f, 18.997f) + lineTo(18.975f, 17.781f) + arcTo(4.45f, 4.45f, 165.95303274908488f, isMoreThanHalf = false, isPositiveArc = true, 19.179000000000002f, 15.001999999999999f) + curveTo(19.580000000000002f, 14.050999999999998f, 19.782000000000004f, 13.038999999999998f, 19.782000000000004f, 11.998f) + curveTo(19.782000000000004f, 9.927999999999999f, 18.972000000000005f, 7.975999999999999f, 17.500000000000004f, 6.5009999999999994f) + arcTo(7.73f, 7.73f, 315.2503650680584f, isMoreThanHalf = false, isPositiveArc = false, 12.006000000000004f, 4.212999999999999f) + close() + moveTo(12.0f, 16.777f) + arcTo(5.74f, 5.74f, 90.04536367633517f, isMoreThanHalf = false, isPositiveArc = false, 17.064f, 13.748000000000001f) + lineTo(17.058f, 13.748000000000001f) + arcTo(0.447f, 0.447f, 27.985813697572205f, isMoreThanHalf = false, isPositiveArc = false, 16.895f, 13.156f) + lineTo(15.463f, 12.297f) + arcTo(0.445f, 0.445f, 300.9425763938789f, isMoreThanHalf = false, isPositiveArc = false, 14.835999999999999f, 12.48f) + arcTo(3.182f, 3.182f, 26.86813336346085f, isMoreThanHalf = false, isPositiveArc = true, 9.158999999999999f, 12.48f) + arcTo(0.445f, 0.445f, 333.4840388249685f, isMoreThanHalf = false, isPositiveArc = false, 8.531999999999998f, 12.297f) + lineTo(7.099999999999998f, 13.157f) + arcTo(0.447f, 0.447f, 238.71416367670577f, isMoreThanHalf = false, isPositiveArc = false, 6.936999999999998f, 13.748f) + arcTo(5.75f, 5.75f, 151.76797134974893f, isMoreThanHalf = false, isPositiveArc = false, 12.0f, 16.778f) + } + }.build().also { + _legacyChannel = it + } + } + + +private var _legacyChannel: ImageVector? = null + +@Preview(showBackground = true) +@Composable +private fun LegacyChannelIconPreview() { + Icon( + modifier = Modifier.size(128.dp), + imageVector = BezierIcons.LegacyChannel.imageVector, + contentDescription = null, + ) +} diff --git a/bezier/src/main/java/io/channel/bezier/icon/LegacyChannelFilled.kt b/bezier/src/main/java/io/channel/bezier/icon/LegacyChannelFilled.kt new file mode 100644 index 0000000..7d879d9 --- /dev/null +++ b/bezier/src/main/java/io/channel/bezier/icon/LegacyChannelFilled.kt @@ -0,0 +1,76 @@ +@file:Suppress("ObjectPropertyName", "UnusedReceiverParameter") + +// Auto-generated by script/generate_compose_bezier_icon.py + +package io.channel.bezier.icon + +import androidx.compose.foundation.layout.size +import androidx.compose.material.Icon +import androidx.compose.runtime.Composable +import androidx.compose.ui.Modifier +import androidx.compose.ui.graphics.Color +import androidx.compose.ui.graphics.PathFillType +import androidx.compose.ui.graphics.SolidColor +import androidx.compose.ui.graphics.vector.ImageVector +import androidx.compose.ui.graphics.vector.path +import androidx.compose.ui.tooling.preview.Preview +import androidx.compose.ui.unit.dp +import io.channel.bezier.BezierIcon +import io.channel.bezier.BezierIcons + +val BezierIcons.LegacyChannelFilled: BezierIcon + get() = object : BezierIcon { + override val imageVector: ImageVector + get() = _legacyChannelFilled ?: ImageVector.Builder( + name = "LegacyChannelFilled", + defaultWidth = 24.dp, + defaultHeight = 24.dp, + viewportWidth = 24f, + viewportHeight = 24f, + ).apply { + path( + fill = SolidColor(Color(0xFF313234)), + strokeLineWidth = 1f, + pathFillType = PathFillType.EvenOdd, + ) { + moveTo(21.997f, 12.006f) + curveTo(21.997f, 13.376000000000001f, 21.721f, 14.68f, 21.221f, 15.870000000000001f) + lineTo(21.221f, 15.873000000000001f) + arcTo(3.73f, 3.73f, 202.53571213903382f, isMoreThanHalf = false, isPositiveArc = false, 21.049f, 18.213f) + lineTo(21.592f, 20.387f) + arcTo(0.998f, 0.998f, 345.9047468611427f, isMoreThanHalf = false, isPositiveArc = true, 20.381f, 21.598f) + lineTo(18.207f, 21.055f) + arcTo(3.73f, 3.73f, 284.1278632827351f, isMoreThanHalf = false, isPositiveArc = false, 15.867f, 21.227f) + curveTo(14.677000000000001f, 21.727f, 13.374f, 22.003f, 12.003f, 22.003f) + curveTo(6.5f, 22.003f, 2.0f, 17.51f, 2.0f, 12.006f) + curveTo(1.997f, 6.48f, 6.477f, 2.003f, 12.003f, 2.003f) + curveTo(17.508f, 2.003f, 21.997f, 6.502f, 21.997f, 12.006f) + moveTo(17.863f, 14.055f) + arcTo(6.66f, 6.66f, 28.276267997628807f, isMoreThanHalf = false, isPositiveArc = true, 11.992999999999999f, 17.56f) + lineTo(11.987999999999998f, 17.56f) + arcTo(6.67f, 6.67f, 90.01081015027373f, isMoreThanHalf = false, isPositiveArc = true, 6.117999999999998f, 14.055f) + arcTo(0.5f, 0.5f, 152.21067007295218f, isMoreThanHalf = false, isPositiveArc = true, 6.304999999999998f, 13.392f) + lineTo(8.095999999999998f, 12.318999999999999f) + arcTo(0.506f, 0.506f, 239.7078053939179f, isMoreThanHalf = false, isPositiveArc = true, 8.803999999999998f, 12.53f) + arcTo(3.58f, 3.58f, 152.88377889938914f, isMoreThanHalf = false, isPositiveArc = false, 15.177f, 12.53f) + arcTo(0.507f, 0.507f, 206.6378898499879f, isMoreThanHalf = false, isPositiveArc = true, 15.885f, 12.318999999999999f) + lineTo(17.676f, 13.392f) + curveTo(17.906f, 13.53f, 17.988999999999997f, 13.822f, 17.863f, 14.055f) + } + }.build().also { + _legacyChannelFilled = it + } + } + + +private var _legacyChannelFilled: ImageVector? = null + +@Preview(showBackground = true) +@Composable +private fun LegacyChannelFilledIconPreview() { + Icon( + modifier = Modifier.size(128.dp), + imageVector = BezierIcons.LegacyChannelFilled.imageVector, + contentDescription = null, + ) +} diff --git a/bezier/src/main/res/drawable/icon_legacy_channel.xml b/bezier/src/main/res/drawable/icon_legacy_channel.xml new file mode 100644 index 0000000..22597c4 --- /dev/null +++ b/bezier/src/main/res/drawable/icon_legacy_channel.xml @@ -0,0 +1,10 @@ + + + diff --git a/bezier/src/main/res/drawable/icon_legacy_channel_filled.xml b/bezier/src/main/res/drawable/icon_legacy_channel_filled.xml new file mode 100644 index 0000000..5d99a01 --- /dev/null +++ b/bezier/src/main/res/drawable/icon_legacy_channel_filled.xml @@ -0,0 +1,10 @@ + + +