This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// @description draw a sprite using four- or nine-slicing | |
/// @arg sprite | |
/// @arg subimg | |
/// @arg x | |
/// @arg y | |
/// @arg width | |
/// @arg height | |
/// @arg color | |
/// @arg alpha | |
/// @arg [slice_top_left] if not supplied, the origin will be used for four-slicing |