Cards::MenuItem
Inherits Reference < Object
Constants
PADDING = 25
TEXT_SIZE = 21
Constructors
new(name : String, x = 0, y = 0, color = Game::Color::Lime, focused : Bool = false, padding : Int32 = PADDING)
SourceInstance methods
blur
Sourcedraw
Sourcedraw_focused
Sourcefocus
Sourcefocused?
Sourceheight
Sourcename
Sourcetext(*args, **options)
Sourcetext(*args, **options, &)
Sourcewidth
Sourcex=(value : Int32 | Float32)
Sourcey=(value : Int32 | Float32)
Source