Struct tui_realm_stdlib::Canvas [−][src]
pub struct Canvas { /* fields omitted */ }Expand description
Canvas
The Canvas widget may be used to draw more detailed figures using braille patterns (each cell can have a braille character in 8 different positions).
Implementations
Trait Implementations
render
Based on the current properties and states, renders a widget using the provided render engine in the provided Area If focused, cursor is also set (if supported by widget)
update
Update component properties
Properties should first be retrieved through get_props which creates a builder from
existing properties and then edited before calling update.
Returns a Msg to the view
get_props
Returns a props builder starting from component properties. This returns a prop builder in order to make easier to create new properties for the element.
on
Handle input event and update internal states. Returns a Msg to the view
get_state
Get current state from component
This component always returns None