org.lee.mugen.core.renderer.java
Class JMugenDrawer
java.lang.Object
org.lee.mugen.core.renderer.game.GraphicsWrapper.MugenDrawer
org.lee.mugen.core.renderer.java.JMugenDrawer
public class JMugenDrawer
- extends GraphicsWrapper.MugenDrawer
|
Method Summary |
void |
draw(GraphicsWrapper.DrawProperties dp)
|
void |
drawLine(int x1,
int y1,
int x2,
int y2)
|
void |
drawRect(float x,
float y,
float width,
float height)
|
void |
fillRect(float x,
float y,
float width,
float height)
|
void |
scale(float x,
float y)
|
void |
setColor(float r,
float g,
float b)
|
void |
setColor(float r,
float g,
float b,
float a)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JMugenDrawer
public JMugenDrawer()
draw
public void draw(GraphicsWrapper.DrawProperties dp)
- Specified by:
draw in class GraphicsWrapper.MugenDrawer
drawLine
public void drawLine(int x1,
int y1,
int x2,
int y2)
- Specified by:
drawLine in class GraphicsWrapper.MugenDrawer
drawRect
public void drawRect(float x,
float y,
float width,
float height)
- Specified by:
drawRect in class GraphicsWrapper.MugenDrawer
fillRect
public void fillRect(float x,
float y,
float width,
float height)
- Specified by:
fillRect in class GraphicsWrapper.MugenDrawer
setColor
public void setColor(float r,
float g,
float b,
float a)
- Specified by:
setColor in class GraphicsWrapper.MugenDrawer
setColor
public void setColor(float r,
float g,
float b)
- Specified by:
setColor in class GraphicsWrapper.MugenDrawer
scale
public void scale(float x,
float y)
- Specified by:
scale in class GraphicsWrapper.MugenDrawer