struct UI::WindowSize

Defined in:

ui/windows.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(width : Float64, height : Float64) #

[View source]

Instance Method Detail

def clamp(minimum : WindowSize | Nil = nil, maximum : WindowSize | Nil = nil) : WindowSize #

[View source]
def clone #

[View source]
def copy_with(width _width = @width, height _height = @height) #

[View source]
def height : Float64 #

def width : Float64 #