Skip to content

Commit

Permalink
documentation update for NineSliceSprite
Browse files Browse the repository at this point in the history
  • Loading branch information
obiot committed Nov 19, 2021
1 parent 50bb96f commit 98a333e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/renderable/nineslicesprite.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ import Sprite from "./sprite.js";

/**
* @classdesc
* A NineSliceSprite is similar to a Sprite, but it it can strech its inner area to fit the size of the Renderable
* A NineSliceSprite is similar to a Sprite, but it uses 9-slice scaling to strech its inner area to fit the size of the Renderable,
* by proportionally scaling a sprite by splitting it in a grid of nine parts (with only parts 1, 3, 7, 9 not being scaled). <br>
* <img src="images/9-slice-scaling.png"/><br>
* @see https://en.wikipedia.org/wiki/9-slice_scaling
* @class NineSliceSprite
* @extends me.Sprite
* @memberOf me
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 98a333e

Please sign in to comment.