We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please add logo background option
The text was updated successfully, but these errors were encountered:
Logo is a painter. You can add background to your image or wrap logo painter in other painter
class WrapperPainter( private val painter: Painter, private val background : Color, ) : Painter() { override val intrinsicSize: Size get() = painter.intrinsicSize override fun DrawScope.onDraw() { drawRect(background) painter.run { draw(size) } } }
Sorry, something went wrong.
Logo is a painter. You can add background to your image or wrap logo painter in other painter class WrapperPainter( private val painter: Painter, private val background : Color, ) : Painter() { override val intrinsicSize: Size get() = painter.intrinsicSize override fun DrawScope.onDraw() { drawRect(background) painter.run { draw(size) } } }
This solution just add the background to logo painter. If we have some paddings for logo, the background is different there.
No branches or pull requests
Please add logo background option
The text was updated successfully, but these errors were encountered: