runelite-api: import SpritePixels methods

This commit is contained in:
Ron Young
2020-10-28 07:12:09 -05:00
committed by Adam
parent 2357fa27d7
commit e3ff5dd487

View File

@@ -56,6 +56,62 @@ public interface SpritePixels
*/
int getHeight();
/**
* Gets the max width of the sprite image in pixels.
*
* @return the width
*/
int getMaxWidth();
/**
* Gets the max height of the sprite image in pixels.
*
* @return the height
*/
int getMaxHeight();
/**
* Gets the x offset of the sprite image in pixels.
*
* @return the offset
*/
int getOffsetX();
/**
* Gets the y offset of the sprite image in pixels.
*
* @return the offset
*/
int getOffsetY();
/**
* Sets the max width of the sprite image in pixels.
*
* @param maxWidth the width
*/
void setMaxWidth(int maxWidth);
/**
* Sets the max height of the sprite image in pixels.
*
* @param maxHeight the height
*/
void setMaxHeight(int maxHeight);
/**
* Sets the x offset of the sprite image in pixels.
*
* @param offsetX the offset
*/
void setOffsetX(int offsetX);
/**
* Sets the y offset of the sprite image in pixels.
*
* @param offsetY the offset
*/
void setOffsetY(int offsetY);
/**
* Gets an array of all pixels data in the sprite.
*