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
struct
GUI::
DensityPixel(T)
GUI::DensityPixel(T)
GUI::ScreenUnit(T)
Struct
Value
Object
Overview
A density independant pixel
Defined in:
screen/units/density_pixel.cr
Constructors
.new
(value : T)
Instance methods inherited from struct
GUI::ScreenUnit(T)
value
value
Constructor methods inherited from struct
GUI::ScreenUnit(T)
new(value : T)
new
Constructor Detail
def self.
new
(value : T)
#
[
View source
]