abstract class Works::UI::Base

Direct Known Subclasses

Defined in:

works/ui/base.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(width : Int32, height : Int32, margin : Int32 = 0, padding : Int32 = 0) #

[View source]

Instance Method Detail

abstract def draw(x, y) #

[View source]
def height : Int32 #

[View source]
def height=(height : Int32) #

[View source]
def inner_height #

[View source]
def inner_width #

[View source]
def margin : Int32 #

[View source]
def margin=(margin : Int32) #

[View source]
def outer_height #

[View source]
def outer_width #

[View source]
def padding : Int32 #

[View source]
def padding=(padding : Int32) #

[View source]
def width : Int32 #

[View source]
def width=(width : Int32) #

[View source]