Package-level declarations

Functions

Link copied to clipboard
fun String.scale(scale: Float): String

Масштабирование размеров svg-изображения одинаково по обеим осям.

fun String.scale(x: Float, y: Float): String

Масштабирование размеров svg-изображения раздельно по осям.

Link copied to clipboard
fun ByteArray.toPng(width: Int? = null, height: Int? = null, backgroundColor: Color? = null): ByteArray

Преобразование svg-содержимого в PNG.

fun String.toPng(width: Int? = null, height: Int? = null, backgroundColor: Color? = null): ByteArray

Преобразование svg-строки в PNG.