-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update bezier icon bezier asset main (#70)
- Loading branch information
1 parent
0a14db1
commit 8b86a37
Showing
4 changed files
with
232 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
@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.Alf: BezierIcon | ||
get() = object : BezierIcon { | ||
override val imageVector: ImageVector | ||
get() = _alf ?: ImageVector.Builder( | ||
name = "Alf", | ||
defaultWidth = 24.dp, | ||
defaultHeight = 24.dp, | ||
viewportWidth = 24f, | ||
viewportHeight = 24f, | ||
).apply { | ||
path( | ||
fill = SolidColor(Color(0xFF313234)), | ||
strokeLineWidth = 1f, | ||
pathFillType = PathFillType.EvenOdd, | ||
) { | ||
moveTo(2.436f, 6.184f) | ||
curveTo(2.0f, 7.04f, 2.0f, 8.16f, 2.0f, 10.4f) | ||
lineTo(2.0f, 13.600000000000001f) | ||
curveTo(2.0f, 15.840000000000002f, 2.0f, 16.96f, 2.436f, 17.816000000000003f) | ||
arcTo(4.0f, 4.0f, 152.99931737283205f, isMoreThanHalf = false, isPositiveArc = false, 4.184f, 19.564000000000004f) | ||
curveTo(5.04f, 20.0f, 6.16f, 20.0f, 8.4f, 20.0f) | ||
lineTo(15.600000000000001f, 20.0f) | ||
curveTo(17.840000000000003f, 20.0f, 18.96f, 20.0f, 19.816000000000003f, 19.564f) | ||
arcTo(4.0f, 4.0f, 62.99931737283203f, isMoreThanHalf = false, isPositiveArc = false, 21.564000000000004f, 17.816f) | ||
curveTo(22.0f, 16.96f, 22.0f, 15.84f, 22.0f, 13.6f) | ||
lineTo(22.0f, 10.399999999999999f) | ||
curveTo(22.0f, 8.159999999999998f, 22.0f, 7.039999999999999f, 21.564f, 6.183999999999998f) | ||
arcTo(4.0f, 4.0f, 332.999317372832f, isMoreThanHalf = false, isPositiveArc = false, 19.816f, 4.435999999999998f) | ||
curveTo(18.96f, 4.0f, 17.84f, 4.0f, 15.6f, 4.0f) | ||
lineTo(8.4f, 4.0f) | ||
curveTo(6.16f, 4.0f, 5.040000000000001f, 4.0f, 4.184f, 4.436f) | ||
arcTo(4.0f, 4.0f, 242.99931737283202f, isMoreThanHalf = false, isPositiveArc = false, 2.436f, 6.184f) | ||
moveTo(5.609f, 7.857f) | ||
arcTo(0.444f, 0.444f, 191.29993381378256f, isMoreThanHalf = false, isPositiveArc = true, 6.045f, 7.5f) | ||
lineTo(7.983f, 7.5f) | ||
curveTo(8.193999999999999f, 7.5f, 8.376999999999999f, 7.65f, 8.418f, 7.857f) | ||
lineTo(10.017999999999999f, 15.857f) | ||
arcTo(0.444f, 0.444f, 348.56838023091865f, isMoreThanHalf = false, isPositiveArc = true, 9.582999999999998f, 16.389f) | ||
lineTo(8.71f, 16.389f) | ||
arcTo(0.444f, 0.444f, 89.92167108242175f, isMoreThanHalf = false, isPositiveArc = true, 8.274000000000001f, 16.032f) | ||
lineTo(7.990000000000001f, 14.612f) | ||
lineTo(6.036f, 14.612f) | ||
lineTo(5.752f, 16.032f) | ||
arcTo(0.444f, 0.444f, 11.299933813782715f, isMoreThanHalf = false, isPositiveArc = true, 5.316f, 16.389f) | ||
lineTo(4.445f, 16.389f) | ||
arcTo(0.444f, 0.444f, 89.8957013553716f, isMoreThanHalf = false, isPositiveArc = true, 4.009f, 15.857f) | ||
close() | ||
moveTo(7.636f, 12.833f) | ||
lineTo(7.014f, 9.723f) | ||
lineTo(6.391f, 12.833f) | ||
close() | ||
moveTo(11.062f, 7.743f) | ||
curveTo(11.014f, 7.838f, 11.014f, 7.963f, 11.014f, 8.211f) | ||
lineTo(11.014f, 15.678f) | ||
curveTo(11.014f, 15.927000000000001f, 11.014f, 16.051000000000002f, 11.062f, 16.146f) | ||
curveTo(11.104999999999999f, 16.23f, 11.171999999999999f, 16.298000000000002f, 11.256f, 16.341f) | ||
curveTo(11.351f, 16.389f, 11.476f, 16.389f, 11.725f, 16.389f) | ||
lineTo(12.08f, 16.389f) | ||
curveTo(12.219f, 16.389f, 12.318f, 16.389f, 12.396f, 16.381f) | ||
curveTo(12.474f, 16.389f, 12.573f, 16.389f, 12.711f, 16.389f) | ||
lineTo(13.956f, 16.389f) | ||
curveTo(14.203999999999999f, 16.389f, 14.328999999999999f, 16.389f, 14.424f, 16.34f) | ||
arcTo(0.44f, 0.44f, 63.16591975573476f, isMoreThanHalf = false, isPositiveArc = false, 14.618f, 16.146f) | ||
curveTo(14.667f, 16.051000000000002f, 14.667f, 15.926f, 14.667f, 15.678f) | ||
lineTo(14.667f, 15.322000000000001f) | ||
curveTo(14.667f, 15.073f, 14.667f, 14.949000000000002f, 14.618f, 14.854000000000001f) | ||
arcTo(0.44f, 0.44f, 333.1659197557346f, isMoreThanHalf = false, isPositiveArc = false, 14.424f, 14.66f) | ||
curveTo(14.328999999999999f, 14.611f, 14.203999999999999f, 14.611f, 13.956f, 14.611f) | ||
lineTo(12.79f, 14.611f) | ||
lineTo(12.79f, 8.211f) | ||
curveTo(12.79f, 7.962000000000001f, 12.79f, 7.838f, 12.741999999999999f, 7.743f) | ||
arcTo(0.44f, 0.44f, 333.1659197557344f, isMoreThanHalf = false, isPositiveArc = false, 12.547999999999998f, 7.549f) | ||
curveTo(12.452999999999998f, 7.5f, 12.327999999999998f, 7.5f, 12.078999999999999f, 7.5f) | ||
lineTo(11.723999999999998f, 7.5f) | ||
curveTo(11.473999999999998f, 7.5f, 11.349999999999998f, 7.5f, 11.254999999999999f, 7.549f) | ||
arcTo(0.44f, 0.44f, 243.16591975573465f, isMoreThanHalf = false, isPositiveArc = false, 11.060999999999998f, 7.743f) | ||
moveTo(15.602999999999998f, 7.743f) | ||
curveTo(15.554999999999998f, 7.838f, 15.554999999999998f, 7.963f, 15.554999999999998f, 8.211f) | ||
lineTo(15.554999999999998f, 15.678f) | ||
curveTo(15.554999999999998f, 15.927000000000001f, 15.554999999999998f, 16.051000000000002f, 15.602999999999998f, 16.146f) | ||
curveTo(15.645999999999997f, 16.23f, 15.712999999999997f, 16.298000000000002f, 15.796999999999999f, 16.341f) | ||
curveTo(15.892f, 16.389f, 16.017f, 16.389f, 16.266f, 16.389f) | ||
lineTo(16.621f, 16.389f) | ||
curveTo(16.871f, 16.389f, 16.994999999999997f, 16.389f, 17.09f, 16.341f) | ||
arcTo(0.45f, 0.45f, 62.648676772654966f, isMoreThanHalf = false, isPositiveArc = false, 17.284f, 16.146f) | ||
curveTo(17.331999999999997f, 16.051000000000002f, 17.331999999999997f, 15.926f, 17.331999999999997f, 15.678f) | ||
lineTo(17.331999999999997f, 12.833f) | ||
lineTo(18.496999999999996f, 12.833f) | ||
curveTo(18.744999999999997f, 12.833f, 18.869999999999997f, 12.833f, 18.964999999999996f, 12.785f) | ||
arcTo(0.44f, 0.44f, 63.16591975573423f, isMoreThanHalf = false, isPositiveArc = false, 19.158999999999995f, 12.591f) | ||
curveTo(19.207999999999995f, 12.495999999999999f, 19.207999999999995f, 12.370999999999999f, 19.207999999999995f, 12.122f) | ||
lineTo(19.207999999999995f, 11.767f) | ||
curveTo(19.207999999999995f, 11.517f, 19.207999999999995f, 11.392999999999999f, 19.158999999999995f, 11.298f) | ||
arcTo(0.44f, 0.44f, 333.16591975573476f, isMoreThanHalf = false, isPositiveArc = false, 18.964999999999996f, 11.104f) | ||
curveTo(18.869999999999997f, 11.056f, 18.744999999999997f, 11.056f, 18.495999999999995f, 11.056f) | ||
lineTo(17.331999999999994f, 11.056f) | ||
lineTo(17.332f, 9.278f) | ||
lineTo(19.288f, 9.278f) | ||
curveTo(19.537f, 9.278f, 19.661f, 9.278f, 19.756f, 9.229000000000001f) | ||
arcTo(0.45f, 0.45f, 62.94325596700548f, isMoreThanHalf = false, isPositiveArc = false, 19.951f, 9.035f) | ||
curveTo(20.0f, 8.94f, 20.0f, 8.815f, 20.0f, 8.567f) | ||
lineTo(20.0f, 8.21f) | ||
curveTo(20.0f, 7.961000000000001f, 20.0f, 7.837000000000001f, 19.952f, 7.742000000000001f) | ||
arcTo(0.45f, 0.45f, 332.84318987959733f, isMoreThanHalf = false, isPositiveArc = false, 19.757f, 7.547000000000001f) | ||
curveTo(19.662000000000003f, 7.4990000000000006f, 19.537000000000003f, 7.4990000000000006f, 19.289f, 7.4990000000000006f) | ||
lineTo(17.156000000000002f, 7.4990000000000006f) | ||
curveTo(17.044000000000004f, 7.4990000000000006f, 16.958000000000002f, 7.4990000000000006f, 16.888f, 7.503f) | ||
curveTo(16.818f, 7.4990000000000006f, 16.733f, 7.4990000000000006f, 16.622f, 7.4990000000000006f) | ||
lineTo(16.267f, 7.4990000000000006f) | ||
curveTo(16.017f, 7.4990000000000006f, 15.892999999999999f, 7.4990000000000006f, 15.798f, 7.548000000000001f) | ||
arcTo(0.44f, 0.44f, 243.16591975573465f, isMoreThanHalf = false, isPositiveArc = false, 15.604f, 7.742000000000001f) | ||
} | ||
}.build().also { | ||
_alf = it | ||
} | ||
} | ||
|
||
|
||
private var _alf: ImageVector? = null | ||
|
||
@Preview(showBackground = true) | ||
@Composable | ||
private fun AlfIconPreview() { | ||
Icon( | ||
modifier = Modifier.size(128.dp), | ||
imageVector = BezierIcons.Alf.imageVector, | ||
contentDescription = null, | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
@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.BlockSmall: BezierIcon | ||
get() = object : BezierIcon { | ||
override val imageVector: ImageVector | ||
get() = _blockSmall ?: ImageVector.Builder( | ||
name = "BlockSmall", | ||
defaultWidth = 24.dp, | ||
defaultHeight = 24.dp, | ||
viewportWidth = 24f, | ||
viewportHeight = 24f, | ||
).apply { | ||
path( | ||
fill = SolidColor(Color(0xFF313234)), | ||
strokeLineWidth = 1f, | ||
pathFillType = PathFillType.EvenOdd, | ||
) { | ||
moveTo(17.0f, 12.0f) | ||
arcTo(5.0f, 5.0f, 359.99088928344105f, isMoreThanHalf = false, isPositiveArc = true, 9.243f, 16.172f) | ||
lineTo(16.172f, 9.242f) | ||
curveTo(16.695f, 10.033000000000001f, 17.0f, 10.981000000000002f, 17.0f, 12.0f) | ||
moveTo(7.827999999999999f, 14.758f) | ||
lineTo(14.758f, 7.827999999999999f) | ||
arcTo(5.0f, 5.0f, 303.49536615611447f, isMoreThanHalf = false, isPositiveArc = false, 7.828999999999999f, 14.757f) | ||
moveTo(19.0f, 12.0f) | ||
arcTo(7.0f, 7.0f, 0.0f, isMoreThanHalf = true, isPositiveArc = true, 5.0f, 12.0f) | ||
arcTo(7.0f, 7.0f, 180.0f, isMoreThanHalf = false, isPositiveArc = true, 19.0f, 12.0f) | ||
} | ||
}.build().also { | ||
_blockSmall = it | ||
} | ||
} | ||
|
||
|
||
private var _blockSmall: ImageVector? = null | ||
|
||
@Preview(showBackground = true) | ||
@Composable | ||
private fun BlockSmallIconPreview() { | ||
Icon( | ||
modifier = Modifier.size(128.dp), | ||
imageVector = BezierIcons.BlockSmall.imageVector, | ||
contentDescription = null, | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="24dp" | ||
android:height="24dp" | ||
android:viewportWidth="24" | ||
android:viewportHeight="24"> | ||
<path | ||
android:pathData="M2.436,6.184C2,7.04 2,8.16 2,10.4v3.2c0,2.24 0,3.36 0.436,4.216a4,4 0,0 0,1.748 1.748C5.04,20 6.16,20 8.4,20h7.2c2.24,0 3.36,0 4.216,-0.436a4,4 0,0 0,1.748 -1.748C22,16.96 22,15.84 22,13.6v-3.2c0,-2.24 0,-3.36 -0.436,-4.216a4,4 0,0 0,-1.748 -1.748C18.96,4 17.84,4 15.6,4L8.4,4c-2.24,0 -3.36,0 -4.216,0.436a4,4 0,0 0,-1.748 1.748m3.173,1.673a0.444,0.444 0,0 1,0.436 -0.357h1.938c0.211,0 0.394,0.15 0.435,0.357l1.6,8a0.444,0.444 0,0 1,-0.435 0.532L8.71,16.389a0.444,0.444 0,0 1,-0.436 -0.357l-0.284,-1.42L6.036,14.612l-0.284,1.42a0.444,0.444 0,0 1,-0.436 0.357h-0.871a0.444,0.444 0,0 1,-0.436 -0.532zM7.636,12.833 L7.014,9.723 6.391,12.833zM11.062,7.743c-0.048,0.095 -0.048,0.22 -0.048,0.468v7.467c0,0.249 0,0.373 0.048,0.468 0.043,0.084 0.11,0.152 0.194,0.195 0.095,0.048 0.22,0.048 0.469,0.048h0.355c0.139,0 0.238,0 0.316,-0.008 0.078,0.008 0.177,0.008 0.315,0.008h1.245c0.248,0 0.373,0 0.468,-0.049a0.44,0.44 0,0 0,0.194 -0.194c0.049,-0.095 0.049,-0.22 0.049,-0.468v-0.356c0,-0.249 0,-0.373 -0.049,-0.468a0.44,0.44 0,0 0,-0.194 -0.194c-0.095,-0.049 -0.22,-0.049 -0.468,-0.049L12.79,14.611v-6.4c0,-0.249 0,-0.373 -0.048,-0.468a0.44,0.44 0,0 0,-0.194 -0.194c-0.095,-0.049 -0.22,-0.049 -0.469,-0.049h-0.355c-0.25,0 -0.374,0 -0.469,0.049a0.44,0.44 0,0 0,-0.194 0.194m4.542,0c-0.048,0.095 -0.048,0.22 -0.048,0.468v7.467c0,0.249 0,0.373 0.048,0.468 0.043,0.084 0.11,0.152 0.194,0.195 0.095,0.048 0.22,0.048 0.469,0.048h0.355c0.25,0 0.374,0 0.469,-0.048a0.45,0.45 0,0 0,0.194 -0.195c0.048,-0.095 0.048,-0.22 0.048,-0.468v-2.845h1.165c0.248,0 0.373,0 0.468,-0.048a0.44,0.44 0,0 0,0.194 -0.194c0.049,-0.095 0.049,-0.22 0.049,-0.469v-0.355c0,-0.25 0,-0.374 -0.049,-0.469a0.44,0.44 0,0 0,-0.194 -0.194c-0.095,-0.048 -0.22,-0.048 -0.469,-0.048h-1.164L17.332,9.278h1.956c0.249,0 0.373,0 0.468,-0.049a0.45,0.45 0,0 0,0.195 -0.194C20,8.94 20,8.815 20,8.567L20,8.21c0,-0.249 0,-0.373 -0.048,-0.468a0.45,0.45 0,0 0,-0.195 -0.195c-0.095,-0.048 -0.22,-0.048 -0.468,-0.048h-2.133c-0.112,0 -0.198,0 -0.268,0.004 -0.07,-0.004 -0.155,-0.004 -0.266,-0.004h-0.355c-0.25,0 -0.374,0 -0.469,0.049a0.44,0.44 0,0 0,-0.194 0.194" | ||
android:fillColor="#313234" | ||
android:fillType="evenOdd"/> | ||
</vector> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="24dp" | ||
android:height="24dp" | ||
android:viewportWidth="24" | ||
android:viewportHeight="24"> | ||
<path | ||
android:pathData="M17,12a5,5 0,0 1,-7.757 4.172l6.929,-6.93c0.523,0.791 0.828,1.739 0.828,2.758m-9.172,2.758 l6.93,-6.93a5,5 0,0 0,-6.929 6.929M19,12a7,7 0,1 1,-14 0,7 7,0 0,1 14,0" | ||
android:fillColor="#313234" | ||
android:fillType="evenOdd"/> | ||
</vector> |