Class VectorGraphic
java.lang.Object
org.rusherhack.client.api.render.graphic.VectorGraphic
- All Implemented Interfaces:
IGraphic
A vector graphic
-
Constructor Summary
ConstructorsConstructorDescriptionVectorGraphic(InputStream inputStream, int width, int height) VectorGraphic(String path, int width, int height) -
Method Summary
Modifier and TypeMethodDescriptionintintintintgetWidth()intintvoidsetSvgHeight(int svgHeight) voidsetSvgWidth(int svgWidth)
-
Constructor Details
-
VectorGraphic
- Throws:
IOException
-
VectorGraphic
- Throws:
IOException
-
-
Method Details
-
getInputStream
- Specified by:
getInputStreamin interfaceIGraphic
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getXOffset
public int getXOffset()- Specified by:
getXOffsetin interfaceIGraphic
-
getYOffset
public int getYOffset()- Specified by:
getYOffsetin interfaceIGraphic
-
getSvgWidth
public int getSvgWidth() -
getSvgHeight
public int getSvgHeight() -
setSvgWidth
public void setSvgWidth(int svgWidth) -
setSvgHeight
public void setSvgHeight(int svgHeight)
-