UNPKG

@awayjs/stage

Version:
48 lines 929 B
import { AssetBase, Rectangle } from '@awayjs/core'; /** * */ export declare class ImageSampler extends AssetBase { static assetType: string; private _repeat; private _smooth; private _mipmap; private _imageRect; private _frameRect; /** * * @returns {string} */ get assetType(): string; /** * */ get repeat(): boolean; set repeat(value: boolean); /** * */ get smooth(): boolean; set smooth(value: boolean); /** * */ get mipmap(): boolean; set mipmap(value: boolean); /** * */ get imageRect(): Rectangle; set imageRect(value: Rectangle); /** * */ get frameRect(): Rectangle; set frameRect(value: Rectangle); /** * */ constructor(repeat?: boolean, smooth?: boolean, mipmap?: boolean); private _updateRect; } //# sourceMappingURL=ImageSampler.d.ts.map