Skip to content

Commit

Permalink
Update core/src/main/kotlin/org/jetbrains/jewel/painter/PainterProvid…
Browse files Browse the repository at this point in the history
…er.kt

Co-authored-by: Sebastiano Poggi <[email protected]>
  • Loading branch information
devkanro and rock3r authored Oct 17, 2023
1 parent 7093b08 commit f0a3598
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import androidx.compose.runtime.State
import androidx.compose.ui.graphics.painter.Painter

/**
* Provide [Painter] by specified [PainterHint], implementations should handle
* all [PainterHint] correctly, at now, it only need to call [PainterPathHint.patch] and
* [PainterSvgPatchHint.patch] correctly.
* Also [PainterProvider] should hold the resource path and [ClassLoader] references.
* Implementations of this interface should handle the passed [PainterHint]s correctly.
* For now, this means calling [PainterPathHint.patch] and [PainterSvgPatchHint.patch].
* Most likely, a [PainterProvider] should also hold the resource path and [ClassLoader]
* references.
*/
@Immutable
interface PainterProvider {
Expand Down

0 comments on commit f0a3598

Please sign in to comment.