Static Methods
-
fromBitmapData(
BitmapData bitmapData, String source, [ TextureAtlasFormat textureAtlasFormat = TextureAtlasFormat.JSONARRAY ]) → Future<TextureAtlas> -
fromTextureAtlas(
TextureAtlas textureAtlas, String namePrefix, String source, [ TextureAtlasFormat textureAtlasFormat = TextureAtlasFormat.JSONARRAY ]) → Future<TextureAtlas> -
load(
String url, [ TextureAtlasFormat textureAtlasFormat = TextureAtlasFormat.JSONARRAY, BitmapDataLoadOptions bitmapDataLoadOptions = null ]) → Future<TextureAtlas> -
withLoader(
TextureAtlasLoader textureAtlasLoader, [ TextureAtlasFormat textureAtlasFormat = TextureAtlasFormat.JSONARRAY ]) → Future<TextureAtlas>
Constructors
Properties
- frameNames → List<String>
-
A list with the frame-names in this texture atlas.
read-only - frames → List<TextureAtlasFrame>
-
A list with the frames in this texture atlas.
read-only - hashCode → int
-
Get a hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
getBitmapData(
String name) → BitmapData -
Get the BitmapData of the frame with the given
name
. -
getBitmapDatas(
String namePrefix) → List<BitmapData> -
Get a list of BitmapDatas of frames whose names starts with
namePrefix
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited