Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Dsol::Menu::Content
Inherits
Reference
<
Object
Constructors
new
(x :
Int32
, y :
Int32
, scale :
Float32
, text :
Nil
|
String
, image :
Nil
|
String
, press : -> _)
Source
Instance methods
draw
Source
hovered?
(mx :
Int32
, my :
Int32
) :
Bool
Source
image
Source
image=
(image :
String
|
Nil
)
Source
press
Source
scale
Source
scale=
(scale :
Float32
)
Source
text
Source
text=
(text :
String
|
Nil
)
Source
x
Source
x=
(x :
Int32
)
Source
y
Source
y=
(y :
Int32
)
Source