Uses of Interface
net.runelite.api.SpritePixels
-
Packages that use SpritePixels Package Description net.runelite.api net.runelite.api.worldmap -
-
Uses of SpritePixels in net.runelite.api
Methods in net.runelite.api that return SpritePixels Modifier and Type Method Description SpritePixels
Client. createItemSprite(int itemId, int quantity, int border, int shadowColor, int stackable, boolean noted, int scale)
Creates an item icon sprite with passed variables.SpritePixels
Client. createSpritePixels(int[] pixels, int width, int height)
Creates a sprite image with given width and height containing the pixels.SpritePixels
Client. drawInstanceMap(int z)
Draws an instance map for the current viewed plane.SpritePixels[]
Client. getCrossSprites()
Returns the array of cross sprites that appear and animate when left-clickingSpritePixels
HealthBarConfig. getHealthBarBackSprite()
SpritePixels
HealthBarConfig. getHealthBarFrontSprite()
SpritePixels[]
Client. getMapDots()
Gets an array of currently drawn mini-map dots.SpritePixels[]
Client. getMapIcons()
Gets an array of current map icon sprites.SpritePixels[]
Client. getSprites(IndexDataBase source, int archiveId, int fileId)
Loads and creates the sprite images of the passed archive and file IDs.Methods in net.runelite.api that return types with arguments of type SpritePixels Modifier and Type Method Description Map<Integer,SpritePixels>
Client. getSpriteOverrides()
Gets a mapping of sprites to override.Map<Integer,SpritePixels>
Client. getWidgetSpriteOverrides()
Gets a mapping of widget sprites to override.Methods in net.runelite.api with parameters of type SpritePixels Modifier and Type Method Description Point
Actor. getCanvasSpriteLocation(SpritePixels sprite, int zOffset)
Gets the point at which a sprite should be drawn, relative to the current location with the given z-axis offset.static Point
Perspective. getCanvasSpriteLocation(Client client, LocalPoint localLocation, SpritePixels sprite, int zOffset)
Calculates sprite position and centers depending on sprite size.void
Client. setCompass(SpritePixels spritePixels)
Sets the compass sprite.void
Client. setLoginScreen(SpritePixels pixels)
Sets the image to be used for the login screen, provided as SpritePixels If the image is larger than half the width of fixed mode, it won't get mirrored to the other side of the screen -
Uses of SpritePixels in net.runelite.api.worldmap
Methods in net.runelite.api.worldmap that return SpritePixels Modifier and Type Method Description SpritePixels
MapElementConfig. getMapIcon(boolean unused)
Gets the sprite icon to display on the world map.
-