Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
gui
master
GUI
Animator
Color
Component
HoverEvent
InputEvent
KeyDownEvent
KeyUpEvent
MouseDownEvent
MouseInEvent
MouseOutEvent
MouseUpEvent
DensityPixel
Display
Point
Drawer
Engine
Eventable
Event
Layout
NumberMixin
Pixel
RenderSystem
ScreenUnit
Shader
Generated using Crystal 1.10.1
2024-05-04 07:03:44 UTC
abstract struct
GUI::
ScreenUnit(T)
GUI::ScreenUnit(T)
Struct
Value
Object
Direct Known Subclasses
GUI::DensityPixel(T)
GUI::Pixel(T)
Defined in:
screen/units/screen_unit.cr
Constructors
.new
(value : T)
Instance Method Summary
#value
Constructor Detail
def self.
new
(value : T)
#
[
View source
]
Instance Method Detail
def
value
#
[
View source
]