PolyImage

constructor(resourcePath: String, type: PolyImage.Type = from(resourcePath))

Parameters

resourcePath

the path to the resource

type

the image type. This is automatically inferred from the file extension normally, but you can manually select it.