runelite-api: import SpritePixels methods
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user