프로퍼티 | 타입 | 설명 | |
---|---|---|---|
sfRenderTexture_drawText | void | ||
sfRenderWindow_drawText | void | ||
sfText_copy | |||
sfText_create | |||
sfText_destroy | void | ||
sfText_findCharacterPos | Vector2f | ||
sfText_getCharacterSize | uint | ||
sfText_getColor | System.Color | ||
sfText_getFillColor | System.Color | ||
sfText_getLocalBounds | FloatRect | ||
sfText_getOutlineColor | System.Color | ||
sfText_getOutlineThickness | float | ||
sfText_getRect | FloatRect | ||
sfText_getString | |||
sfText_getStyle | Styles | ||
sfText_getUnicodeString | |||
sfText_setCharacterSize | void | ||
sfText_setColor | void | ||
sfText_setFillColor | void | ||
sfText_setFont | void | ||
sfText_setOutlineColor | void | ||
sfText_setOutlineThickness | void | ||
sfText_setStyle | void | ||
sfText_setUnicodeString | void |
메소드 | 설명 | |
---|---|---|
Draw ( RenderTarget target, |
Draw the text to a render target
|
|
FindCharacterPos ( uint index ) : Vector2f |
Return the visual position of the Index-th character of the text, in coordinates relative to the text (note : translation, origin, rotation and scale are not applied)
|
|
GetGlobalBounds ( ) : FloatRect |
Get the global bounding rectangle of the entity. The returned rectangle is in global coordinates, which means that it takes in account the transformations (translation, rotation, scale, ...) that are applied to the entity. In other words, this function returns the bounds of the sprite in the global 2D world's coordinate system.
|
|
GetLocalBounds ( ) : FloatRect |
Get the local bounding rectangle of the entity. The returned rectangle is in local coordinates, which means that it ignores the transformations (translation, rotation, scale, ...) that are applied to the entity. In other words, this function returns the bounds of the entity in the entity's coordinate system.
|
|
Text ( ) : System |
Default constructor
|
|
Text ( |
Construct the text from another text
|
|
Text ( string str, |
Construct the text from a string and a font
|
|
Text ( string str, |
Construct the text from a string, font and size
|
|
ToString ( ) : string |
Provide a string describing the object
|
메소드 | 설명 | |
---|---|---|
Destroy ( bool disposing ) : void |
Handle the destruction of the object
|
메소드 | 설명 | |
---|---|---|
sfRenderTexture_drawText ( |
||
sfRenderWindow_drawText ( |
||
sfText_copy ( |
||
sfText_create ( ) : |
||
sfText_destroy ( |
||
sfText_findCharacterPos ( |
||
sfText_getCharacterSize ( |
||
sfText_getColor ( |
||
sfText_getFillColor ( |
||
sfText_getLocalBounds ( |
||
sfText_getOutlineColor ( |
||
sfText_getOutlineThickness ( |
||
sfText_getRect ( |
||
sfText_getString ( |
||
sfText_getStyle ( |
||
sfText_getUnicodeString ( |
||
sfText_setCharacterSize ( |
||
sfText_setColor ( |
||
sfText_setFillColor ( |
||
sfText_setFont ( |
||
sfText_setOutlineColor ( |
||
sfText_setOutlineThickness ( |
||
sfText_setStyle ( |
||
sfText_setUnicodeString ( |
protected Destroy ( bool disposing ) : void | ||
disposing | bool | Is the GC disposing the object, or is it an explicit call ? |
리턴 | void |
public Draw ( RenderTarget target, |
||
target | RenderTarget | Render target to draw to |
states | Current render states | |
리턴 | void |
public FindCharacterPos ( uint index ) : Vector2f | ||
index | uint | Index of the character |
리턴 | Vector2f |
public Text ( string str, |
||
str | string | String to display |
font | Font to use | |
리턴 | System |
public Text ( string str, |
||
str | string | String to display |
font | Font to use | |
characterSize | uint | Base characters size |
리턴 | System |