Class: Text
- Inherits:
- LiteRGSS::Text show all
- Defined in:
- docs/0_Dependencies.rb
Overview
Class that describes a text shown on the screen or inside a viewport
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from LiteRGSS::Text
#__index__, #align, #bold, #draw_shadow, #fill_color, #height, #italic, #nchar_draw, #opacity, #outline_color, #outline_thickness, #real_width, #size, #text, #viewport, #visible, #width, #x, #y, #z
Instance Method Summary collapse
-
#simple_mouse_in?(mouse_x = Mouse.x, mouse_y = Mouse.y) ⇒ Boolean
Detect if the mouse is in the sprite (without rotation and stuff like that).
-
#translate_mouse_coords(mouse_x = Mouse.x, mouse_y = Mouse.y) ⇒ Array(Integer, Integer)
Convert mouse coordinate on the screen to mouse coordinates on the sprite.
Methods inherited from LiteRGSS::Text
#load_color, #multiline_text=, new, #set_position, #text_width