-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9a22a03
commit 57c0875
Showing
6 changed files
with
428 additions
and
66 deletions.
There are no files selected for viewing
85 changes: 85 additions & 0 deletions
85
src/main/kotlin/de/lobbenmeier/stefan/common/ui/icons/Subtitles.kt
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,85 @@ | ||
package de.lobbenmeier.stefan.common.ui.icons | ||
|
||
import androidx.compose.ui.graphics.Color | ||
import androidx.compose.ui.graphics.PathFillType | ||
import androidx.compose.ui.graphics.SolidColor | ||
import androidx.compose.ui.graphics.StrokeCap | ||
import androidx.compose.ui.graphics.StrokeJoin | ||
import androidx.compose.ui.graphics.vector.ImageVector | ||
import androidx.compose.ui.graphics.vector.path | ||
import androidx.compose.ui.unit.dp | ||
|
||
// https://composeicons.com/icons/material-symbols/outlined/subtitles | ||
val Subtitles: ImageVector | ||
get() { | ||
if (_Subtitles != null) { | ||
return _Subtitles!! | ||
} | ||
_Subtitles = | ||
ImageVector.Builder( | ||
name = "Subtitles", | ||
defaultWidth = 24.dp, | ||
defaultHeight = 24.dp, | ||
viewportWidth = 960f, | ||
viewportHeight = 960f | ||
) | ||
.apply { | ||
path( | ||
fill = SolidColor(Color.Black), | ||
fillAlpha = 1.0f, | ||
stroke = null, | ||
strokeAlpha = 1.0f, | ||
strokeLineWidth = 1.0f, | ||
strokeLineCap = StrokeCap.Butt, | ||
strokeLineJoin = StrokeJoin.Miter, | ||
strokeLineMiter = 1.0f, | ||
pathFillType = PathFillType.NonZero | ||
) { | ||
moveTo(240f, 640f) | ||
horizontalLineToRelative(320f) | ||
verticalLineToRelative(-80f) | ||
horizontalLineTo(240f) | ||
close() | ||
moveToRelative(400f, 0f) | ||
horizontalLineToRelative(80f) | ||
verticalLineToRelative(-80f) | ||
horizontalLineToRelative(-80f) | ||
close() | ||
moveTo(240f, 480f) | ||
horizontalLineToRelative(80f) | ||
verticalLineToRelative(-80f) | ||
horizontalLineToRelative(-80f) | ||
close() | ||
moveToRelative(160f, 0f) | ||
horizontalLineToRelative(320f) | ||
verticalLineToRelative(-80f) | ||
horizontalLineTo(400f) | ||
close() | ||
moveTo(160f, 800f) | ||
quadToRelative(-33f, 0f, -56.5f, -23.5f) | ||
reflectiveQuadTo(80f, 720f) | ||
verticalLineToRelative(-480f) | ||
quadToRelative(0f, -33f, 23.5f, -56.5f) | ||
reflectiveQuadTo(160f, 160f) | ||
horizontalLineToRelative(640f) | ||
quadToRelative(33f, 0f, 56.5f, 23.5f) | ||
reflectiveQuadTo(880f, 240f) | ||
verticalLineToRelative(480f) | ||
quadToRelative(0f, 33f, -23.5f, 56.5f) | ||
reflectiveQuadTo(800f, 800f) | ||
close() | ||
moveToRelative(0f, -80f) | ||
horizontalLineToRelative(640f) | ||
verticalLineToRelative(-480f) | ||
horizontalLineTo(160f) | ||
close() | ||
moveToRelative(0f, 0f) | ||
verticalLineToRelative(-480f) | ||
close() | ||
} | ||
} | ||
.build() | ||
return _Subtitles!! | ||
} | ||
|
||
private var _Subtitles: ImageVector? = null |
86 changes: 86 additions & 0 deletions
86
src/main/kotlin/de/lobbenmeier/stefan/common/ui/icons/SubtitlesOff.kt
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,86 @@ | ||
package de.lobbenmeier.stefan.common.ui.icons | ||
|
||
import androidx.compose.ui.graphics.Color | ||
import androidx.compose.ui.graphics.PathFillType | ||
import androidx.compose.ui.graphics.SolidColor | ||
import androidx.compose.ui.graphics.StrokeCap | ||
import androidx.compose.ui.graphics.StrokeJoin | ||
import androidx.compose.ui.graphics.vector.ImageVector | ||
import androidx.compose.ui.graphics.vector.path | ||
import androidx.compose.ui.unit.dp | ||
|
||
// https://composeicons.com/icons/material-symbols/outlined/subtitles_off | ||
val SubtitlesOff: ImageVector | ||
get() { | ||
if (_SubtitlesOff != null) { | ||
return _SubtitlesOff!! | ||
} | ||
_SubtitlesOff = | ||
ImageVector.Builder( | ||
name = "SubtitlesOff", | ||
defaultWidth = 24.dp, | ||
defaultHeight = 24.dp, | ||
viewportWidth = 960f, | ||
viewportHeight = 960f | ||
) | ||
.apply { | ||
path( | ||
fill = SolidColor(Color.Black), | ||
fillAlpha = 1.0f, | ||
stroke = null, | ||
strokeAlpha = 1.0f, | ||
strokeLineWidth = 1.0f, | ||
strokeLineCap = StrokeCap.Butt, | ||
strokeLineJoin = StrokeJoin.Miter, | ||
strokeLineMiter = 1.0f, | ||
pathFillType = PathFillType.NonZero | ||
) { | ||
moveTo(822f, 934f) | ||
lineTo(686f, 800f) | ||
horizontalLineTo(160f) | ||
quadToRelative(-33f, 0f, -56.5f, -23.5f) | ||
reflectiveQuadTo(80f, 720f) | ||
verticalLineToRelative(-480f) | ||
quadToRelative(0f, -33f, 23.5f, -56.5f) | ||
reflectiveQuadTo(160f, 160f) | ||
lineToRelative(80f, 80f) | ||
horizontalLineToRelative(-80f) | ||
verticalLineToRelative(480f) | ||
horizontalLineToRelative(446f) | ||
lineToRelative(-80f, -80f) | ||
horizontalLineTo(240f) | ||
verticalLineToRelative(-80f) | ||
horizontalLineToRelative(206f) | ||
lineTo(26f, 138f) | ||
lineToRelative(56f, -56f) | ||
lineTo(878f, 878f) | ||
close() | ||
moveToRelative(48f, -178f) | ||
lineToRelative(-70f, -70f) | ||
verticalLineToRelative(-446f) | ||
horizontalLineTo(354f) | ||
lineToRelative(-80f, -80f) | ||
horizontalLineToRelative(526f) | ||
quadToRelative(33f, 0f, 56.5f, 23.5f) | ||
reflectiveQuadTo(880f, 240f) | ||
verticalLineToRelative(476f) | ||
quadToRelative(0f, 11f, -2f, 21f) | ||
reflectiveQuadToRelative(-8f, 19f) | ||
moveTo(594f, 480f) | ||
lineToRelative(-80f, -80f) | ||
horizontalLineToRelative(206f) | ||
verticalLineToRelative(80f) | ||
close() | ||
moveToRelative(-354f, 0f) | ||
verticalLineToRelative(-80f) | ||
horizontalLineToRelative(80f) | ||
verticalLineToRelative(80f) | ||
close() | ||
moveToRelative(143f, 17f) | ||
} | ||
} | ||
.build() | ||
return _SubtitlesOff!! | ||
} | ||
|
||
private var _SubtitlesOff: ImageVector? = 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
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
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
Oops, something went wrong.