Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update bezier asset main #86

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ val BezierIcons.ArrowLeftUpSmall: BezierIcon
arcTo(1.0f, 1.0f, 44.991348337162f, isMoreThanHalf = false, isPositiveArc = false, 16.95f, 15.536f)
lineTo(10.172f, 8.757f)
lineTo(15.536000000000001f, 8.757f)
arcTo(1.0f, 1.0f, 90.0f, isMoreThanHalf = true, isPositiveArc = false, 15.536000000000001f, 6.757f)
arcTo(1.0f, 1.0f, 90.0f, isMoreThanHalf = false, isPositiveArc = false, 15.536000000000001f, 6.757f)
lineTo(7.757f, 6.757f)
arcTo(1.0f, 1.0f, 270.0f, isMoreThanHalf = false, isPositiveArc = false, 6.757f, 7.757f)
lineTo(6.757f, 15.536f)
Expand Down
2 changes: 1 addition & 1 deletion bezier/src/main/java/io/channel/bezier/icon/ArrowUp.kt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ val BezierIcons.ArrowUp: BezierIcon
arcTo(1.0f, 1.0f, 180.0f, isMoreThanHalf = true, isPositiveArc = false, 13.0f, 20.0f)
lineTo(13.0f, 5.933f)
lineTo(19.329f, 11.881f)
arcTo(1.0f, 1.0f, 133.21767883821073f, isMoreThanHalf = false, isPositiveArc = false, 20.699f, 10.423f)
arcTo(1.0f, 1.0f, 133.2176803160058f, isMoreThanHalf = true, isPositiveArc = false, 20.699f, 10.423f)
lineTo(13.04f, 3.227f)
arcTo(1.5f, 1.5f, 313.2356071489822f, isMoreThanHalf = false, isPositiveArc = false, 10.985f, 3.227f)
lineTo(3.33f, 10.423f)
Expand Down
66 changes: 66 additions & 0 deletions bezier/src/main/java/io/channel/bezier/icon/ChevronDownBold.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
@file:Suppress("ObjectPropertyName", "UnusedReceiverParameter")

// Auto-generated by script/generate_compose_bezier_icon.py

package io.channel.bezier.icon

import androidx.annotation.DrawableRes
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
import io.channel.bezier.compose.R

val BezierIcons.ChevronDownBold: BezierIcon
get() = object : BezierIcon {
@DrawableRes
override val resourceId: Int = R.drawable.icon_chevron_down_bold
override val imageVector: ImageVector
get() = _chevronDownBold ?: ImageVector.Builder(
name = "ChevronDownBold",
defaultWidth = 24.dp,
defaultHeight = 24.dp,
viewportWidth = 24f,
viewportHeight = 24f,
).apply {
path(
fill = SolidColor(Color(0xFF313234)),
strokeLineWidth = 1f,
pathFillType = PathFillType.EvenOdd,
) {
moveTo(19.06f, 8.44f)
arcTo(1.5f, 1.5f, 315.0356507164543f, isMoreThanHalf = false, isPositiveArc = true, 19.06f, 10.559999999999999f)
lineTo(13.059999999999999f, 16.56f)
arcTo(1.5f, 1.5f, 45.03565071645426f, isMoreThanHalf = false, isPositiveArc = true, 10.939999999999998f, 16.56f)
lineTo(4.939999999999998f, 10.559999999999999f)
arcTo(1.5f, 1.5f, 137.02162456471535f, isMoreThanHalf = false, isPositiveArc = true, 7.059999999999998f, 8.439999999999998f)
lineTo(12.0f, 13.378f)
lineTo(16.94f, 8.437999999999999f)
arcTo(1.5f, 1.5f, 225.03565071645426f, isMoreThanHalf = false, isPositiveArc = true, 19.060000000000002f, 8.437999999999999f)
}
}.build().also {
_chevronDownBold = it
}
}


private var _chevronDownBold: ImageVector? = null

@Preview(showBackground = true)
@Composable
private fun ChevronDownBoldIconPreview() {
Icon(
modifier = Modifier.size(128.dp),
imageVector = BezierIcons.ChevronDownBold.imageVector,
contentDescription = null,
)
}
66 changes: 66 additions & 0 deletions bezier/src/main/java/io/channel/bezier/icon/ChevronLeftBold.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
@file:Suppress("ObjectPropertyName", "UnusedReceiverParameter")

// Auto-generated by script/generate_compose_bezier_icon.py

package io.channel.bezier.icon

import androidx.annotation.DrawableRes
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
import io.channel.bezier.compose.R

val BezierIcons.ChevronLeftBold: BezierIcon
get() = object : BezierIcon {
@DrawableRes
override val resourceId: Int = R.drawable.icon_chevron_left_bold
override val imageVector: ImageVector
get() = _chevronLeftBold ?: ImageVector.Builder(
name = "ChevronLeftBold",
defaultWidth = 24.dp,
defaultHeight = 24.dp,
viewportWidth = 24f,
viewportHeight = 24f,
).apply {
path(
fill = SolidColor(Color(0xFF313234)),
strokeLineWidth = 1f,
pathFillType = PathFillType.EvenOdd,
) {
moveTo(14.56f, 19.06f)
arcTo(1.5f, 1.5f, 45.0356507164543f, isMoreThanHalf = false, isPositiveArc = true, 12.440000000000001f, 19.06f)
lineTo(6.440000000000001f, 13.059999999999999f)
arcTo(1.5f, 1.5f, 135.03565071645426f, isMoreThanHalf = false, isPositiveArc = true, 6.440000000000001f, 10.939999999999998f)
lineTo(12.440000000000001f, 4.939999999999998f)
arcTo(1.5f, 1.5f, 227.02162456471535f, isMoreThanHalf = false, isPositiveArc = true, 14.560000000000002f, 7.059999999999998f)
lineTo(9.622f, 12.0f)
lineTo(14.562000000000001f, 16.94f)
arcTo(1.5f, 1.5f, 315.03565071645426f, isMoreThanHalf = false, isPositiveArc = true, 14.562000000000001f, 19.060000000000002f)
}
}.build().also {
_chevronLeftBold = it
}
}


private var _chevronLeftBold: ImageVector? = null

@Preview(showBackground = true)
@Composable
private fun ChevronLeftBoldIconPreview() {
Icon(
modifier = Modifier.size(128.dp),
imageVector = BezierIcons.ChevronLeftBold.imageVector,
contentDescription = null,
)
}
66 changes: 66 additions & 0 deletions bezier/src/main/java/io/channel/bezier/icon/ChevronRightBold.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
@file:Suppress("ObjectPropertyName", "UnusedReceiverParameter")

// Auto-generated by script/generate_compose_bezier_icon.py

package io.channel.bezier.icon

import androidx.annotation.DrawableRes
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
import io.channel.bezier.compose.R

val BezierIcons.ChevronRightBold: BezierIcon
get() = object : BezierIcon {
@DrawableRes
override val resourceId: Int = R.drawable.icon_chevron_right_bold
override val imageVector: ImageVector
get() = _chevronRightBold ?: ImageVector.Builder(
name = "ChevronRightBold",
defaultWidth = 24.dp,
defaultHeight = 24.dp,
viewportWidth = 24f,
viewportHeight = 24f,
).apply {
path(
fill = SolidColor(Color(0xFF313234)),
strokeLineWidth = 1f,
pathFillType = PathFillType.EvenOdd,
) {
moveTo(9.44f, 4.94f)
arcTo(1.5f, 1.5f, 225.03565071645428f, isMoreThanHalf = false, isPositiveArc = true, 11.559999999999999f, 4.94f)
lineTo(17.56f, 10.940000000000001f)
arcTo(1.5f, 1.5f, 315.03565071645426f, isMoreThanHalf = false, isPositiveArc = true, 17.56f, 13.060000000000002f)
lineTo(11.559999999999999f, 19.060000000000002f)
arcTo(1.5f, 1.5f, 47.02162456471502f, isMoreThanHalf = false, isPositiveArc = true, 9.439999999999998f, 16.94f)
lineTo(14.378f, 12.0f)
lineTo(9.437999999999999f, 7.06f)
arcTo(1.5f, 1.5f, 135.03565071645428f, isMoreThanHalf = false, isPositiveArc = true, 9.437999999999999f, 4.9399999999999995f)
}
}.build().also {
_chevronRightBold = it
}
}


private var _chevronRightBold: ImageVector? = null

@Preview(showBackground = true)
@Composable
private fun ChevronRightBoldIconPreview() {
Icon(
modifier = Modifier.size(128.dp),
imageVector = BezierIcons.ChevronRightBold.imageVector,
contentDescription = null,
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ val BezierIcons.ChevronRightDouble: BezierIcon
strokeLineWidth = 1f,
) {
moveTo(6.76f, 4.35f)
arcTo(1.0f, 1.0f, 319.46084740482826f, isMoreThanHalf = false, isPositiveArc = false, 5.24f, 5.6499999999999995f)
arcTo(1.0f, 1.0f, 319.4608491122048f, isMoreThanHalf = true, isPositiveArc = false, 5.24f, 5.6499999999999995f)
lineTo(10.684f, 12.0f)
lineTo(5.24f, 18.35f)
arcTo(1.0f, 1.0f, 218.4175977866867f, isMoreThanHalf = false, isPositiveArc = false, 6.758f, 19.650000000000002f)
Expand Down
66 changes: 66 additions & 0 deletions bezier/src/main/java/io/channel/bezier/icon/ChevronUpBold.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
@file:Suppress("ObjectPropertyName", "UnusedReceiverParameter")

// Auto-generated by script/generate_compose_bezier_icon.py

package io.channel.bezier.icon

import androidx.annotation.DrawableRes
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
import io.channel.bezier.compose.R

val BezierIcons.ChevronUpBold: BezierIcon
get() = object : BezierIcon {
@DrawableRes
override val resourceId: Int = R.drawable.icon_chevron_up_bold
override val imageVector: ImageVector
get() = _chevronUpBold ?: ImageVector.Builder(
name = "ChevronUpBold",
defaultWidth = 24.dp,
defaultHeight = 24.dp,
viewportWidth = 24f,
viewportHeight = 24f,
).apply {
path(
fill = SolidColor(Color(0xFF313234)),
strokeLineWidth = 1f,
pathFillType = PathFillType.EvenOdd,
) {
moveTo(4.94f, 15.56f)
arcTo(1.5f, 1.5f, 135.0356507164543f, isMoreThanHalf = false, isPositiveArc = true, 4.94f, 13.440000000000001f)
lineTo(10.940000000000001f, 7.440000000000001f)
arcTo(1.5f, 1.5f, 225.03565071645426f, isMoreThanHalf = false, isPositiveArc = true, 13.060000000000002f, 7.440000000000001f)
lineTo(19.060000000000002f, 13.440000000000001f)
arcTo(1.5f, 1.5f, 317.021624564715f, isMoreThanHalf = false, isPositiveArc = true, 16.94f, 15.560000000000002f)
lineTo(12.0f, 10.622f)
lineTo(7.06f, 15.562000000000001f)
arcTo(1.5f, 1.5f, 45.03565071645429f, isMoreThanHalf = false, isPositiveArc = true, 4.9399999999999995f, 15.562000000000001f)
}
}.build().also {
_chevronUpBold = it
}
}


private var _chevronUpBold: ImageVector? = null

@Preview(showBackground = true)
@Composable
private fun ChevronUpBoldIconPreview() {
Icon(
modifier = Modifier.size(128.dp),
imageVector = BezierIcons.ChevronUpBold.imageVector,
contentDescription = null,
)
}
42 changes: 21 additions & 21 deletions bezier/src/main/java/io/channel/bezier/icon/NaverTalktalk.kt
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,27 @@ val BezierIcons.NaverTalktalk: BezierIcon
strokeLineWidth = 1f,
pathFillType = PathFillType.EvenOdd,
) {
moveTo(6.5f, 3.0f)
lineTo(17.5f, 3.0f)
arcTo(3.5f, 3.5f, 270.0f, isMoreThanHalf = false, isPositiveArc = true, 21.0f, 6.5f)
lineTo(21.0f, 15.5f)
arcTo(3.5f, 3.5f, 0.0f, isMoreThanHalf = false, isPositiveArc = true, 17.5f, 19.0f)
lineTo(9.106f, 19.0f)
arcTo(2.5f, 2.5f, 270.0100596711706f, isMoreThanHalf = false, isPositiveArc = false, 7.256f, 19.818f)
lineTo(5.2620000000000005f, 22.012f)
curveTo(4.462000000000001f, 22.892f, 3.0000000000000004f, 22.326f, 3.0000000000000004f, 21.137f)
lineTo(3.0000000000000004f, 6.5f)
arcTo(3.5f, 3.5f, 180.0f, isMoreThanHalf = false, isPositiveArc = true, 6.5f, 3.0f)
moveTo(8.25f, 14.75f)
lineTo(8.25f, 7.257f)
lineTo(10.826f, 7.257f)
lineTo(13.184000000000001f, 10.982f)
lineTo(13.192f, 7.249999999999999f)
lineTo(15.75f, 7.255999999999999f)
lineTo(15.75f, 14.75f)
lineTo(13.156f, 14.75f)
lineTo(10.842f, 11.03f)
lineTo(10.827f, 14.75f)
moveTo(5.202f, 4.545f)
curveTo(9.132f, 0.74f, 15.394f, 0.771f, 19.292f, 4.638f)
lineTo(19.292f, 4.648f)
curveTo(23.117f, 8.629999999999999f, 23.034000000000002f, 14.953999999999999f, 19.115000000000002f, 18.863f)
arcTo(12.36f, 12.36f, 46.64843727173607f, isMoreThanHalf = false, isPositiveArc = true, 11.993000000000002f, 22.16f)
curveTo(10.356000000000002f, 22.334f, 8.703000000000003f, 22.327f, 7.068000000000002f, 22.139f)
arcTo(23.7f, 23.7f, 97.907687944198f, isMoreThanHalf = false, isPositiveArc = true, 2.517000000000002f, 21.04f)
arcTo(0.93f, 0.93f, 109.29611764703301f, isMoreThanHalf = false, isPositiveArc = true, 2.0920000000000023f, 19.589f)
arcTo(9.0f, 9.0f, 38.26146584482214f, isMoreThanHalf = false, isPositiveArc = false, 3.2950000000000026f, 17.567f)
arcTo(2.3f, 2.3f, 20.955536953614534f, isMoreThanHalf = false, isPositiveArc = false, 3.2220000000000026f, 15.752f)
arcTo(9.72f, 9.72f, 154.18668821210508f, isMoreThanHalf = false, isPositiveArc = true, 5.202000000000003f, 4.545f)
moveTo(13.632000000000001f, 11.834f)
lineTo(13.632000000000001f, 7.54f)
lineTo(16.172f, 7.54f)
lineTo(16.172f, 15.565000000000001f)
lineTo(13.622f, 15.565000000000001f)
lineTo(10.698f, 11.273000000000001f)
lineTo(10.698f, 15.565000000000001f)
lineTo(8.158000000000001f, 15.565000000000001f)
lineTo(8.158000000000001f, 7.541f)
lineTo(10.708000000000002f, 7.541f)
close()
}
}.build().also {
Expand Down
2 changes: 1 addition & 1 deletion bezier/src/main/res/drawable/icon_arrow_left_up_small.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M16.95,16.95a1,1 0,0 0,0 -1.414l-6.778,-6.779h5.364a1,1 0,1 0,0 -2H7.757a1,1 0,0 0,-1 1v7.779a1,1 0,0 0,2 0v-5.364l6.779,6.778a1,1 0,0 0,1.414 0"
android:pathData="M16.95,16.95a1,1 0,0 0,0 -1.414l-6.778,-6.779h5.364a1,1 0,0 0,0 -2H7.757a1,1 0,0 0,-1 1v7.779a1,1 0,0 0,2 0v-5.364l6.779,6.778a1,1 0,0 0,1.414 0"
android:fillColor="#313234"/>
</vector>
2 changes: 1 addition & 1 deletion bezier/src/main/res/drawable/icon_arrow_up.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M3.285,11.837a1,1 0,0 0,1.413 0.044L11,5.959V20a1,1 0,1 0,2 0V5.933l6.329,5.948a1,1 0,0 0,1.37 -1.458L13.04,3.227a1.5,1.5 0,0 0,-2.055 0L3.33,10.423a1,1 0,0 0,-0.044 1.414"
android:pathData="M3.285,11.837a1,1 0,0 0,1.413 0.044L11,5.959V20a1,1 0,1 0,2 0V5.933l6.329,5.948a1,1 0,1 0,1.37 -1.458L13.04,3.227a1.5,1.5 0,0 0,-2.055 0L3.33,10.423a1,1 0,0 0,-0.044 1.414"
android:fillColor="#313234"
android:fillType="evenOdd"/>
</vector>
10 changes: 10 additions & 0 deletions bezier/src/main/res/drawable/icon_chevron_down_bold.xml
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="M19.06,8.44a1.5,1.5 0,0 1,0 2.12l-6,6a1.5,1.5 0,0 1,-2.12 0l-6,-6a1.5,1.5 0,0 1,2.12 -2.12L12,13.378l4.94,-4.94a1.5,1.5 0,0 1,2.12 0"
android:fillColor="#313234"
android:fillType="evenOdd"/>
</vector>
10 changes: 10 additions & 0 deletions bezier/src/main/res/drawable/icon_chevron_left_bold.xml
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="M14.56,19.06a1.5,1.5 0,0 1,-2.12 0l-6,-6a1.5,1.5 0,0 1,0 -2.12l6,-6a1.5,1.5 0,0 1,2.12 2.12L9.622,12l4.94,4.94a1.5,1.5 0,0 1,0 2.12"
android:fillColor="#313234"
android:fillType="evenOdd"/>
</vector>
10 changes: 10 additions & 0 deletions bezier/src/main/res/drawable/icon_chevron_right_bold.xml
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="M9.44,4.94a1.5,1.5 0,0 1,2.12 0l6,6a1.5,1.5 0,0 1,0 2.12l-6,6a1.5,1.5 0,0 1,-2.12 -2.12L14.378,12l-4.94,-4.94a1.5,1.5 0,0 1,0 -2.12"
android:fillColor="#313234"
android:fillType="evenOdd"/>
</vector>
Loading
Loading