Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Commander::UI::Label
Inherits
Commander::UI::Widget
<
Reference
<
Object
Constructors
new
(text :
String
, id :
String
= "label", color :
String
|
Nil
= nil, style :
String
|
Nil
= nil)
Source
Instance methods
color
Source
color=
(color :
String
|
Nil
)
Source
render
(context :
RenderContext
, commands :
Array
(
DrawCommand
)) :
Nil
Source
style
Source
style=
(style :
String
|
Nil
)
Source
text
Source
text=
(text :
String
)
Source