pub struct GridHighlightConfig {Show 20 fields
pub showGridExtensionLines: Option<bool>,
pub showPositiveLineNumbers: Option<bool>,
pub showNegativeLineNumbers: Option<bool>,
pub showAreaNames: Option<bool>,
pub showLineNames: Option<bool>,
pub showTrackSizes: Option<bool>,
pub gridBorderColor: Option<RGBA>,
pub cellBorderColor: Option<RGBA>,
pub rowLineColor: Option<RGBA>,
pub columnLineColor: Option<RGBA>,
pub gridBorderDash: Option<bool>,
pub cellBorderDash: Option<bool>,
pub rowLineDash: Option<bool>,
pub columnLineDash: Option<bool>,
pub rowGapColor: Option<RGBA>,
pub rowHatchColor: Option<RGBA>,
pub columnGapColor: Option<RGBA>,
pub columnHatchColor: Option<RGBA>,
pub areaBorderColor: Option<RGBA>,
pub gridBackgroundColor: Option<RGBA>,
}Expand description
Configuration data for the highlighting of Grid elements.
Fields§
§showGridExtensionLines: Option<bool>Whether the extension lines from grid cells to the rulers should be shown (default: false).
showPositiveLineNumbers: Option<bool>Show Positive line number labels (default: false).
showNegativeLineNumbers: Option<bool>Show Negative line number labels (default: false).
showAreaNames: Option<bool>Show area name labels (default: false).
showLineNames: Option<bool>Show line name labels (default: false).
showTrackSizes: Option<bool>Show track size labels (default: false).
gridBorderColor: Option<RGBA>The grid container border highlight color (default: transparent).
cellBorderColor: Option<RGBA>The cell border color (default: transparent). Deprecated, please use rowLineColor and columnLineColor instead.
rowLineColor: Option<RGBA>The row line color (default: transparent).
columnLineColor: Option<RGBA>The column line color (default: transparent).
gridBorderDash: Option<bool>Whether the grid border is dashed (default: false).
cellBorderDash: Option<bool>Whether the cell border is dashed (default: false). Deprecated, please us rowLineDash and columnLineDash instead.
rowLineDash: Option<bool>Whether row lines are dashed (default: false).
columnLineDash: Option<bool>Whether column lines are dashed (default: false).
rowGapColor: Option<RGBA>The row gap highlight fill color (default: transparent).
rowHatchColor: Option<RGBA>The row gap hatching fill color (default: transparent).
columnGapColor: Option<RGBA>The column gap highlight fill color (default: transparent).
columnHatchColor: Option<RGBA>The column gap hatching fill color (default: transparent).
areaBorderColor: Option<RGBA>The named grid areas border color (Default: transparent).
gridBackgroundColor: Option<RGBA>The grid container background color (Default: transparent).
Trait Implementations§
Source§impl Clone for GridHighlightConfig
impl Clone for GridHighlightConfig
Source§fn clone(&self) -> GridHighlightConfig
fn clone(&self) -> GridHighlightConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more