initImage

abstract fun initImage(image: PolyImage, size: Vec2)

Function that can be called to explicitly initialize an image. This is used mainly for getting the size of an image, or to ensure an SVG has been rasterized.