메소드 | 설명 | |
---|---|---|
Begin ( ) : void |
Begin a 2D drawing session
|
|
Dispose ( ) : void |
Dispose
|
|
DrawString ( string text, int x, int y, int width = 800, int height = 600 ) : void |
Draw text
|
|
End ( ) : void |
End drawing session
|
|
SetFont ( Color fontColor, string fontName, int fontSize ) : void |
Set font parameters
|
메소드 | 설명 | |
---|---|---|
InitFont ( ) : void | ||
Release ( ) : void |
Release all resources
|
|
Sharp2D ( SharpDevice device ) : System |
Create a batch manager for drawing text and sprite
|
|
UpdateResources ( SharpDX backBuffer ) : void |
Update all resources
|
public DrawString ( string text, int x, int y, int width = 800, int height = 600 ) : void | ||
text | string | Text |
x | int | Left position |
y | int | Top position |
width | int | Max width |
height | int | Max heigh |
리턴 | void |
public SetFont ( Color fontColor, string fontName, int fontSize ) : void | ||
fontColor | Color | Font Color |
fontName | string | Font Name |
fontSize | int | Font Size |
리턴 | void |