Module: LiteRGSS::Text::Util Deprecated
- Defined in:
- docs/00700_Ajout_PSDK.rb
Overview
Deprecated.
DO NOT FUCKING USE THIS. Use SpriteStack instead.
Utility module to manage text easly in user interfaces.
Constant Summary collapse
- DEFAULT_OUTLINE_SIZE =
Default outlinesize, nil gives a 0 and keep shadow processing, 0 or more disable shadow processing
nil
- FOY =
Offset induced by the Font
2
Instance Method Summary collapse
-
#add_text(x, y, width, height, str, align = 0, outlinesize = DEFAULT_OUTLINE_SIZE, type: Text) ⇒ Text
Add a text inside the window, the offset x/y will be adjusted.
-
#init_text(font_id = 0, viewport = nil, z = 1000)
Initialize the texts.
-
#text_dispose
Dispose the texts.
-
#text_each
Yield a block on each undisposed text.
-
#text_viewport ⇒ Viewport
4 Returns the text viewport.
-
#text_viewport=(v)
Change the text viewport.
Instance Method Details
#add_text(x, y, width, height, str, align = 0, outlinesize = DEFAULT_OUTLINE_SIZE, type: Text) ⇒ Text
Add a text inside the window, the offset x/y will be adjusted
445 446 |
# File 'docs/00700_Ajout_PSDK.rb', line 445 def add_text(x, y, width, height, str, align = 0, outlinesize = DEFAULT_OUTLINE_SIZE, type: Text) end |
#init_text(font_id = 0, viewport = nil, z = 1000)
Initialize the texts
433 434 |
# File 'docs/00700_Ajout_PSDK.rb', line 433 def init_text(font_id = 0, = nil, z = 1000) end |
#text_dispose
Dispose the texts
448 449 |
# File 'docs/00700_Ajout_PSDK.rb', line 448 def text_dispose end |
#text_each
Yield a block on each undisposed text
451 452 |
# File 'docs/00700_Ajout_PSDK.rb', line 451 def text_each end |
#text_viewport ⇒ Viewport
4 Returns the text viewport
425 426 |
# File 'docs/00700_Ajout_PSDK.rb', line 425 def end |
#text_viewport=(v)
Change the text viewport
428 429 |
# File 'docs/00700_Ajout_PSDK.rb', line 428 def (v) end |