Struct tui_realm_stdlib::CanvasPropsBuilder [−][src]
pub struct CanvasPropsBuilder { /* fields omitted */ }Implementations
with_background
Set background color for component
pub fn with_borders(
&mut self,
borders: Borders,
variant: BorderType,
color: Color
) -> &mut Self
pub fn with_borders(
&mut self,
borders: Borders,
variant: BorderType,
color: Color
) -> &mut Self
with_borders
Set component borders style
with_title
Set title
with_x_bounds
Define x axis bounds
with_y_bounds
Define y axis bounds
with_shapes
Sets (and eventually replace) shapes
with_new_canvas
Initialize a new canvas data
with_layer
Add a new layer to canvas
with_line
Add a new line to canvas
with_map
Add a map to canvas
with_points
Add points to canvas
with_rectangle
Add rectangle to canvas