NinePatchImages

class NinePatchImages(val resources: Resources, textureName: String)

Stores a map of NinePatches keyed on name (as String), loaded from Resources.

See also : ninePatchImages.

Constructors

Link copied to clipboard
constructor(resources: Resources, textureName: String)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
operator fun get(name: String): NinePatch?
Link copied to clipboard
fun NinePatchImages.ninePatch(name: String, x: Number, y: Number, width: Number, height: Number, edges: Edges)

Part of a DSL (Domain specific language) for loading nine patches. See ninePatchImages for details.

Link copied to clipboard
operator fun set(name: String, ninePatch: NinePatch)