Class VectorGraphic
java.lang.Object
org.rusherhack.client.api.render.graphic.VectorGraphic
- All Implemented Interfaces:
IGraphic
A vector graphic
-
Constructor Summary
ConstructorDescriptionVectorGraphic
(InputStream inputStream, int width, int height) VectorGraphic
(String path, int width, int height) -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
getWidth()
int
int
void
setSvgHeight
(int svgHeight) void
setSvgWidth
(int svgWidth)
-
Constructor Details
-
VectorGraphic
- Throws:
IOException
-
VectorGraphic
- 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
-
getSvgWidth
public int getSvgWidth() -
getSvgHeight
public int getSvgHeight() -
setSvgWidth
public void setSvgWidth(int svgWidth) -
setSvgHeight
public void setSvgHeight(int svgHeight)
-