UNPKG

image-in-browser

Version:

Package for encoding / decoding images, transforming images, applying filters, drawing primitives on images on the client side (no need for server Node.js)

72 lines 1.7 kB
export class PvrAppleInfo { get backgroundColor() { return this._backgroundColor; } get numFrames() { return this._numFrames; } get width() { return this._width; } set width(v) { this._width = v; } get height() { return this._height; } set height(v) { this._height = v; } get mipCount() { return this._mipCount; } get flags() { return this._flags; } get texDataSize() { return this._texDataSize; } get bitsPerPixel() { return this._bitsPerPixel; } set bitsPerPixel(v) { this._bitsPerPixel = v; } get redMask() { return this._redMask; } get greenMask() { return this._greenMask; } get blueMask() { return this._blueMask; } get magic() { return this._magic; } constructor(opt) { this._backgroundColor = undefined; this._numFrames = 1; this._width = 0; this._height = 0; this._mipCount = 0; this._flags = 0; this._texDataSize = 0; this._bitsPerPixel = 0; this._redMask = 0; this._greenMask = 0; this._blueMask = 0; this._magic = 0; this._width = opt.width; this._height = opt.height; this._mipCount = opt.mipCount; this._flags = opt.flags; this._texDataSize = opt.texDataSize; this._bitsPerPixel = opt.bitsPerPixel; this._redMask = opt.redMask; this._greenMask = opt.greenMask; this._blueMask = opt.blueMask; this._magic = opt.magic; } } //# sourceMappingURL=pvr-apple-info.js.map