Class TextureGraphic
java.lang.Object
org.rusherhack.client.api.render.graphic.TextureGraphic
- All Implemented Interfaces:
IGraphic
-
Constructor Summary
ConstructorsConstructorDescriptionTextureGraphic
(InputStream inputStream, int width, int height) TextureGraphic
(String path, int width, int height) -
Method Summary
-
Constructor Details
-
TextureGraphic
- Throws:
IOException
-
TextureGraphic
- Throws:
IOException
-
-
Method Details
-
getInputStream
- Specified by:
getInputStream
in interfaceIGraphic
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getXOffset
public int getXOffset()- Specified by:
getXOffset
in interfaceIGraphic
-
getYOffset
public int getYOffset()- Specified by:
getYOffset
in interfaceIGraphic
-