MipmapElement¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/chipper/blob/main/js/browser/MipmapElement.ts for the most up-to-date information.
Overview¶
Class MipmapElement¶
Size and raster data for levels in a mipmap. See also type Mipmap in Imageable.ts. Defined in phet-core instead of scenery because it is loaded upstream and should not have any downstream dependencies such as scenery.
@author Sam Reid (PhET Interactive Simulations)
Constructor¶
new MipmapElement( width : number, height : number, url : string, lock )¶
Instance Methods¶
Instance Properties¶
width : number¶
(readonly)
height : number¶
(readonly)
url : string¶
(readonly)
img : HTMLImageElement¶
(readonly)
canvas : HTMLCanvasElement¶
(readonly)
Source Code¶
See the source for MipmapElement.ts in the chipper repository.