loloof64
04/22/2021, 10:03 AMVector Drawable
: is there a way to do it ?loloof64
04/22/2021, 10:18 AMval vectorDrawable = VectorDrawableCompat.create(context.resources, imageRef, null)
vectorDrawable?.setBounds(x, y, x + imageSize - 1, y + imageSize - 1)
drawIntoCanvas {
vectorDrawable?.draw(it.nativeCanvas)
}
Zach Klippenstein (he/him) [MOD]
04/22/2021, 2:27 PMpainterResource
supports vector drawables, I’m pretty sure.loloof64
04/23/2021, 8:29 AMZach Klippenstein (he/him) [MOD]
04/23/2021, 12:50 PM