generated from JetBrains/compose-multiplatform-template
-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
3626cf5
commit c47102c
Showing
2 changed files
with
108 additions
and
5 deletions.
There are no files selected for viewing
106 changes: 106 additions & 0 deletions
106
resources/icons/src/commonMain/kotlin/dev/sasikanth/rss/reader/resources/icons/Tune.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,106 @@ | ||
/* | ||
* Copyright 2023 Sasikanth Miriyampalli | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package dev.sasikanth.rss.reader.resources.icons | ||
|
||
import androidx.compose.ui.graphics.Color | ||
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero | ||
import androidx.compose.ui.graphics.SolidColor | ||
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt | ||
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter | ||
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 | ||
|
||
val TwineIcons.Tune: ImageVector | ||
get() { | ||
if (tune != null) { | ||
return tune!! | ||
} | ||
tune = | ||
Builder( | ||
name = "Tune", | ||
defaultWidth = 24.0.dp, | ||
defaultHeight = 24.0.dp, | ||
viewportWidth = 24.0f, | ||
viewportHeight = 24.0f | ||
) | ||
.apply { | ||
path( | ||
fill = SolidColor(Color(0xFF000000)), | ||
stroke = null, | ||
strokeLineWidth = 0.0f, | ||
strokeLineCap = Butt, | ||
strokeLineJoin = Miter, | ||
strokeLineMiter = 4.0f, | ||
pathFillType = NonZero | ||
) { | ||
moveTo(11.0f, 21.0f) | ||
verticalLineTo(15.0f) | ||
horizontalLineTo(13.0f) | ||
verticalLineTo(17.0f) | ||
horizontalLineTo(21.0f) | ||
verticalLineTo(19.0f) | ||
horizontalLineTo(13.0f) | ||
verticalLineTo(21.0f) | ||
horizontalLineTo(11.0f) | ||
close() | ||
moveTo(3.0f, 19.0f) | ||
verticalLineTo(17.0f) | ||
horizontalLineTo(9.0f) | ||
verticalLineTo(19.0f) | ||
horizontalLineTo(3.0f) | ||
close() | ||
moveTo(7.0f, 15.0f) | ||
verticalLineTo(13.0f) | ||
horizontalLineTo(3.0f) | ||
verticalLineTo(11.0f) | ||
horizontalLineTo(7.0f) | ||
verticalLineTo(9.0f) | ||
horizontalLineTo(9.0f) | ||
verticalLineTo(15.0f) | ||
horizontalLineTo(7.0f) | ||
close() | ||
moveTo(11.0f, 13.0f) | ||
verticalLineTo(11.0f) | ||
horizontalLineTo(21.0f) | ||
verticalLineTo(13.0f) | ||
horizontalLineTo(11.0f) | ||
close() | ||
moveTo(15.0f, 9.0f) | ||
verticalLineTo(3.0f) | ||
horizontalLineTo(17.0f) | ||
verticalLineTo(5.0f) | ||
horizontalLineTo(21.0f) | ||
verticalLineTo(7.0f) | ||
horizontalLineTo(17.0f) | ||
verticalLineTo(9.0f) | ||
horizontalLineTo(15.0f) | ||
close() | ||
moveTo(3.0f, 7.0f) | ||
verticalLineTo(5.0f) | ||
horizontalLineTo(13.0f) | ||
verticalLineTo(7.0f) | ||
horizontalLineTo(3.0f) | ||
close() | ||
} | ||
} | ||
.build() | ||
return tune!! | ||
} | ||
|
||
private var tune: 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