메소드 | 설명 | |
---|---|---|
AppendFlags ( DrawFlags flags ) : void | ||
ClearFlags ( DrawFlags flags ) : void | ||
DrawCircle ( |
Draw a circle.
|
|
DrawPoint ( |
||
DrawPolygon ( |
Draw a closed polygon provided in CCW order. This implementation uses {@link #drawSegment(Vec2, Vec2, Color3f)} to draw each side of the polygon.
|
|
DrawSegment ( |
Draw a line segment.
|
|
DrawSolidCircle ( |
Draw a solid circle.
|
|
DrawSolidPolygon ( |
Draw a solid closed polygon provided in CCW order.
|
|
DrawString ( |
||
DrawString ( float x, float y, String s, |
Draw a string.
|
|
DrawTransform ( |
Draw a transform. Choose your own length scale
|
|
GetScreenToWorld ( |
takes the screen coordinates (argScreen) and returns the world coordinates
|
|
GetScreenToWorld ( float screenX, float screenY ) : |
takes the screen coordinates and returns the world coordinates.
|
|
GetScreenToWorldToOut ( |
||
GetScreenToWorldToOut ( float screenX, float screenY, |
takes the screen coordinates and puts the corresponding world coordinates in argWorld.
|
|
GetWorldToScreen ( |
takes the world coordinate (argWorld) and returns the screen coordinates.
|
|
GetWorldToScreen ( float worldX, float worldY ) : |
Takes the world coordinates and returns the screen coordinates.
|
|
GetWorldToScreenToOut ( |
||
GetWorldToScreenToOut ( float worldX, float worldY, |
Takes the world coordinates and puts the corresponding screen coordinates in argScreen.
|
|
SetCamera ( float x, float y, float scale ) : void |
메소드 | 설명 | |
---|---|---|
DebugDraw ( IViewportTransform viewport ) : System |
protected DebugDraw ( IViewportTransform viewport ) : System | ||
viewport | IViewportTransform | |
리턴 | System |
public abstract DrawCircle ( |
||
center | ||
radius | float | |
color | ||
리턴 | void |
public abstract DrawPoint ( |
||
argPoint | ||
argRadiusOnScreen | float | |
argColor | ||
리턴 | void |
public DrawPolygon ( |
||
vertices | ||
vertexCount | int | |
color | ||
리턴 | void |
public abstract DrawSegment ( |
||
p1 | ||
p2 | ||
color | ||
리턴 | void |
public abstract DrawSolidCircle ( |
||
center | ||
radius | float | |
axis | ||
color | ||
리턴 | void |
public abstract DrawSolidPolygon ( |
||
vertices | ||
vertexCount | int | |
color | ||
리턴 | void |
public DrawString ( |
||
pos | ||
s | String | |
color | ||
리턴 | void |
public abstract DrawString ( float x, float y, String s, |
||
x | float | |
y | float | |
s | String | |
color | ||
리턴 | void |
public abstract DrawTransform ( |
||
xf | ||
리턴 | void |
public GetScreenToWorld ( |
||
argScreen | ||
리턴 |
public GetScreenToWorld ( float screenX, float screenY ) : |
||
screenX | float | |
screenY | float | |
리턴 |
public GetScreenToWorldToOut ( |
||
argScreen | ||
argWorld | ||
리턴 | void |
public GetScreenToWorldToOut ( float screenX, float screenY, |
||
screenX | float | |
screenY | float | |
argWorld | ||
리턴 | void |
public GetWorldToScreen ( |
||
argWorld | ||
리턴 |
public GetWorldToScreen ( float worldX, float worldY ) : |
||
worldX | float | |
worldY | float | |
리턴 |
public GetWorldToScreenToOut ( |
||
argWorld | ||
argScreen | ||
리턴 | void |
public GetWorldToScreenToOut ( float worldX, float worldY, |
||
worldX | float | |
worldY | float | |
argScreen | ||
리턴 | void |
public SetCamera ( float x, float y, float scale ) : void | ||
x | float | |
y | float | |
scale | float | |
리턴 | void |