You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/gameobjects/image/Image.js
+8-12Lines changed: 8 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,6 @@
12
12
* @extends PIXI.Sprite
13
13
* @extends Phaser.Component.Core
14
14
* @extends Phaser.Component.Angle
15
-
* @extends Phaser.Component.Animation
16
15
* @extends Phaser.Component.AutoCull
17
16
* @extends Phaser.Component.Bounds
18
17
* @extends Phaser.Component.BringToTop
@@ -21,7 +20,6 @@
21
20
* @extends Phaser.Component.FixedToCamera
22
21
* @extends Phaser.Component.InputEnabled
23
22
* @extends Phaser.Component.LifeSpan
24
-
* @extends Phaser.Component.LoadTexture
25
23
* @extends Phaser.Component.Overlap
26
24
* @extends Phaser.Component.Reset
27
25
* @extends Phaser.Component.ScaleMinMax
@@ -33,12 +31,10 @@
33
31
* @param {string|Phaser.RenderTexture|Phaser.BitmapData|PIXI.Texture} [key] - The texture used by the Image during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture, BitmapData or PIXI.Texture.
34
32
* @param {string|number} [frame] - If this Image is using part of a sprite sheet or texture atlas you can specify the exact frame to use by giving a string or numeric index.
* @param {string} key - Unique asset key of the sheet file.
1078
1078
* @param {string} url - URL of the sprite sheet file. If undefined or `null` the url will be set to `<key>.png`, i.e. if `key` was "alien" then the URL will be "alien.png".
1079
-
* @param {number} frameWidth - Width in pixels of a single frame in the sprite sheet.
1080
-
* @param {number} frameHeight - Height in pixels of a single frame in the sprite sheet.
1081
-
* @param {number} [frameMax=-1] - How many frames in this sprite sheet. If not specified it will divide the whole image into frames.
1079
+
* @param {number} frameWidth - The fixed width of each frame.
1080
+
* @param {number} frameHeight - The fixed height of each frame.
1081
+
* @param {number} [startFrame=0] - Skip a number of frames. Useful when there are multiple sprite sheets in one Texture.
1082
+
* @param {number} [endFrame=-1] - The total number of frames to extract from the Sprite Sheet. The default value of -1 means "extract all frames".
1082
1083
* @param {number} [margin=0] - If the frames have been drawn with a margin, specify the amount here.
1083
1084
* @param {number} [spacing=0] - If the frames have been drawn with spacing between them, specify the amount here.
1084
-
* @param {number} [skipFrames=0] - Skip a number of frames. Useful when there are multiple sprite sheets in one image.
0 commit comments