abstract class Opal::UI::Element

Overview

Base class for all visual components in the declarative UI hierarchy.

Direct Known Subclasses

Defined in:

opal/ui/element.cr

Instance Method Summary

Instance Method Detail

abstract def preferred_size(available_w : Int32, available_h : Int32) : Tuple(Int32, Int32) #

[View source]
abstract def render(buffer : Buffer, x : Int32, y : Int32, width : Int32, height : Int32) : Nil #

[View source]