pub struct GridHighlightConfigBuilder { /* private fields */ }experimental and Overlay and DOM and Page and Runtime only.Implementations§
Source§impl GridHighlightConfigBuilder
impl GridHighlightConfigBuilder
Sourcepub fn show_grid_extension_lines(&mut self, v: bool) -> &mut Self
pub fn show_grid_extension_lines(&mut self, v: bool) -> &mut Self
Whether the extension lines from grid cells to the rulers should be shown (default: false).
Sourcepub fn show_positive_line_numbers(&mut self, v: bool) -> &mut Self
pub fn show_positive_line_numbers(&mut self, v: bool) -> &mut Self
Show Positive line number labels (default: false).
Sourcepub fn show_negative_line_numbers(&mut self, v: bool) -> &mut Self
pub fn show_negative_line_numbers(&mut self, v: bool) -> &mut Self
Show Negative line number labels (default: false).
Sourcepub fn show_area_names(&mut self, v: bool) -> &mut Self
pub fn show_area_names(&mut self, v: bool) -> &mut Self
Show area name labels (default: false).
Sourcepub fn show_line_names(&mut self, v: bool) -> &mut Self
pub fn show_line_names(&mut self, v: bool) -> &mut Self
Show line name labels (default: false).
Sourcepub fn show_track_sizes(&mut self, v: bool) -> &mut Self
pub fn show_track_sizes(&mut self, v: bool) -> &mut Self
Show track size labels (default: false).
Sourcepub fn grid_border_color(&mut self, v: Rgba) -> &mut Self
pub fn grid_border_color(&mut self, v: Rgba) -> &mut Self
The grid container border highlight color (default: transparent).
Sourcepub fn cell_border_color(&mut self, v: Rgba) -> &mut Self
👎Deprecated
pub fn cell_border_color(&mut self, v: Rgba) -> &mut Self
The cell border color (default: transparent). Deprecated, please use rowLineColor and columnLineColor instead.
Sourcepub fn row_line_color(&mut self, v: Rgba) -> &mut Self
pub fn row_line_color(&mut self, v: Rgba) -> &mut Self
The row line color (default: transparent).
Sourcepub fn column_line_color(&mut self, v: Rgba) -> &mut Self
pub fn column_line_color(&mut self, v: Rgba) -> &mut Self
The column line color (default: transparent).
Sourcepub fn grid_border_dash(&mut self, v: bool) -> &mut Self
pub fn grid_border_dash(&mut self, v: bool) -> &mut Self
Whether the grid border is dashed (default: false).
Sourcepub fn cell_border_dash(&mut self, v: bool) -> &mut Self
👎Deprecated
pub fn cell_border_dash(&mut self, v: bool) -> &mut Self
Whether the cell border is dashed (default: false). Deprecated, please us rowLineDash and columnLineDash instead.
Sourcepub fn row_line_dash(&mut self, v: bool) -> &mut Self
pub fn row_line_dash(&mut self, v: bool) -> &mut Self
Whether row lines are dashed (default: false).
Sourcepub fn column_line_dash(&mut self, v: bool) -> &mut Self
pub fn column_line_dash(&mut self, v: bool) -> &mut Self
Whether column lines are dashed (default: false).
Sourcepub fn row_gap_color(&mut self, v: Rgba) -> &mut Self
pub fn row_gap_color(&mut self, v: Rgba) -> &mut Self
The row gap highlight fill color (default: transparent).
Sourcepub fn row_hatch_color(&mut self, v: Rgba) -> &mut Self
pub fn row_hatch_color(&mut self, v: Rgba) -> &mut Self
The row gap hatching fill color (default: transparent).
Sourcepub fn column_gap_color(&mut self, v: Rgba) -> &mut Self
pub fn column_gap_color(&mut self, v: Rgba) -> &mut Self
The column gap highlight fill color (default: transparent).
Sourcepub fn column_hatch_color(&mut self, v: Rgba) -> &mut Self
pub fn column_hatch_color(&mut self, v: Rgba) -> &mut Self
The column gap hatching fill color (default: transparent).
Sourcepub fn area_border_color(&mut self, v: Rgba) -> &mut Self
pub fn area_border_color(&mut self, v: Rgba) -> &mut Self
The named grid areas border color (Default: transparent).
Sourcepub fn grid_background_color(&mut self, v: Rgba) -> &mut Self
pub fn grid_background_color(&mut self, v: Rgba) -> &mut Self
The grid container background color (Default: transparent).
pub fn build(&mut self) -> Result<GridHighlightConfig, &'static str>
Trait Implementations§
Source§impl Clone for GridHighlightConfigBuilder
impl Clone for GridHighlightConfigBuilder
Source§fn clone(&self) -> GridHighlightConfigBuilder
fn clone(&self) -> GridHighlightConfigBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more