struct Layout::Block

Overview

A 2 dimensional region without the layout. You can manually set it's Primitive values or allow them to be calculated automatically.

Included Modules

Defined in:

layout.cr

Constructors

Instance Method Summary

Instance methods inherited from module Layout::Primitives

height height, height=(value : Float) height=, width width, width=(value : Float) width=, x x, x=(value : Float) x=, y y, y=(value : Float) y=

Constructor Detail

def self.new(layout_direction : Direction, label : String) #

[View source]
def self.new(layout_direction : Direction) #

[View source]
def self.new #

[View source]

Instance Method Detail

def children : Array(Layout::Block) #

[View source]
def children=(children : Array(Layout::Block)) #

[View source]
def id : String #

[View source]
def label : String #

[View source]
def layout_direction : Layout::Direction #

[View source]