UNPKG

laya-coreui-es

Version:

laya核心库、ui库es版本,剔除了媒体、TTF等功能。基于 LayaAir-release_2.12.0 修改

28 lines (27 loc) 631 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Bitmap = void 0; const Resource_1 = require("./Resource"); class Bitmap extends Resource_1.Resource { get width() { return this._width; } set width(width) { this._width = width; } get height() { return this._height; } set height(height) { this._height = height; } constructor() { super(); this._width = -1; this._height = -1; } _getSource() { throw "Bitmap: must override it."; } } exports.Bitmap = Bitmap;