commonMain.compose.icons.tablericons.Diamond.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tabler-icons Show documentation
Show all versions of tabler-icons Show documentation
Compose icons is a set of open source icons packs for Compose Multiplatform
The newest version!
package compose.icons.tablericons
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap
import androidx.compose.ui.graphics.StrokeCap.Companion.Round
import androidx.compose.ui.graphics.StrokeJoin
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.ImageVector.Builder
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.unit.dp
import compose.icons.TablerIcons
public val TablerIcons.Diamond: ImageVector
get() {
if (_diamond != null) {
return _diamond!!
}
_diamond = Builder(name = "Diamond", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp,
viewportWidth = 24.0f, viewportHeight = 24.0f).apply {
path(fill = SolidColor(Color(0x00000000)), stroke = SolidColor(Color(0xFF000000)),
strokeLineWidth = 2.0f, strokeLineCap = Round, strokeLineJoin =
StrokeJoin.Companion.Round, strokeLineMiter = 4.0f, pathFillType = NonZero) {
moveTo(6.0f, 5.0f)
horizontalLineToRelative(12.0f)
lineToRelative(3.0f, 5.0f)
lineToRelative(-8.5f, 9.5f)
arcToRelative(0.7f, 0.7f, 0.0f, false, true, -1.0f, 0.0f)
lineToRelative(-8.5f, -9.5f)
lineToRelative(3.0f, -5.0f)
}
path(fill = SolidColor(Color(0x00000000)), stroke = SolidColor(Color(0xFF000000)),
strokeLineWidth = 2.0f, strokeLineCap = Round, strokeLineJoin =
StrokeJoin.Companion.Round, strokeLineMiter = 4.0f, pathFillType = NonZero) {
moveTo(10.0f, 12.0f)
lineToRelative(-2.0f, -2.2f)
lineToRelative(0.6f, -1.0f)
}
}
.build()
return _diamond!!
}
private var _diamond: ImageVector? = null