SkinPixels

class SkinPixels(argb: IntArray)(source)

规范化的 64×64 ARGB 皮肤快照;构造时复制,像素读取和图片导出均不泄漏可变缓存。 An immutable normalized 64×64 ARGB skin. Constructor input is copied; exported images own their pixels. Use fromSkin to normalize a decoded 64×32 or 64×64 skin without modifying its source image.

Constructors

Link copied to clipboard
constructor(argb: IntArray)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Lowercase SHA-256 of row-major RGBA bytes, including transparent pixels' RGB channels.

Functions

Link copied to clipboard
fun argb(index: Int): Int
fun argb(x: Int, y: Int): Int
Link copied to clipboard
Link copied to clipboard