public class HighlightConfig extends Object
| Constructor and Description |
|---|
HighlightConfig() |
| Modifier and Type | Method and Description |
|---|---|
RGBA |
getBorderColor()
The border highlight fill color (default: transparent).
|
ColorFormat |
getColorFormat()
The color format used to format color styles (default: hex).
|
RGBA |
getContentColor()
The content box highlight fill color (default: transparent).
|
ContrastAlgorithm |
getContrastAlgorithm()
The contrast algorithm to use for the contrast ratio (default: aa).
|
RGBA |
getCssGridColor()
The grid layout color (default: transparent).
|
RGBA |
getEventTargetColor()
The event target element highlight fill color (default: transparent).
|
FlexContainerHighlightConfig |
getFlexContainerHighlightConfig()
The flex container highlight configuration (default: all transparent).
|
FlexItemHighlightConfig |
getFlexItemHighlightConfig()
The flex item highlight configuration (default: all transparent).
|
GridHighlightConfig |
getGridHighlightConfig()
The grid layout highlight configuration (default: all transparent).
|
RGBA |
getMarginColor()
The margin highlight fill color (default: transparent).
|
RGBA |
getPaddingColor()
The padding highlight fill color (default: transparent).
|
RGBA |
getShapeColor()
The shape outside fill color (default: transparent).
|
RGBA |
getShapeMarginColor()
The shape margin fill color (default: transparent).
|
Boolean |
getShowAccessibilityInfo()
Whether the a11y info should be shown (default: true).
|
Boolean |
getShowExtensionLines()
Whether the extension lines from node to the rulers should be shown (default: false).
|
Boolean |
getShowInfo()
Whether the node info tooltip should be shown (default: false).
|
Boolean |
getShowRulers()
Whether the rulers should be shown (default: false).
|
Boolean |
getShowStyles()
Whether the node styles in the tooltip (default: false).
|
void |
setBorderColor(RGBA borderColor)
The border highlight fill color (default: transparent).
|
void |
setColorFormat(ColorFormat colorFormat)
The color format used to format color styles (default: hex).
|
void |
setContentColor(RGBA contentColor)
The content box highlight fill color (default: transparent).
|
void |
setContrastAlgorithm(ContrastAlgorithm contrastAlgorithm)
The contrast algorithm to use for the contrast ratio (default: aa).
|
void |
setCssGridColor(RGBA cssGridColor)
The grid layout color (default: transparent).
|
void |
setEventTargetColor(RGBA eventTargetColor)
The event target element highlight fill color (default: transparent).
|
void |
setFlexContainerHighlightConfig(FlexContainerHighlightConfig flexContainerHighlightConfig)
The flex container highlight configuration (default: all transparent).
|
void |
setFlexItemHighlightConfig(FlexItemHighlightConfig flexItemHighlightConfig)
The flex item highlight configuration (default: all transparent).
|
void |
setGridHighlightConfig(GridHighlightConfig gridHighlightConfig)
The grid layout highlight configuration (default: all transparent).
|
void |
setMarginColor(RGBA marginColor)
The margin highlight fill color (default: transparent).
|
void |
setPaddingColor(RGBA paddingColor)
The padding highlight fill color (default: transparent).
|
void |
setShapeColor(RGBA shapeColor)
The shape outside fill color (default: transparent).
|
void |
setShapeMarginColor(RGBA shapeMarginColor)
The shape margin fill color (default: transparent).
|
void |
setShowAccessibilityInfo(Boolean showAccessibilityInfo)
Whether the a11y info should be shown (default: true).
|
void |
setShowExtensionLines(Boolean showExtensionLines)
Whether the extension lines from node to the rulers should be shown (default: false).
|
void |
setShowInfo(Boolean showInfo)
Whether the node info tooltip should be shown (default: false).
|
void |
setShowRulers(Boolean showRulers)
Whether the rulers should be shown (default: false).
|
void |
setShowStyles(Boolean showStyles)
Whether the node styles in the tooltip (default: false).
|
public Boolean getShowInfo()
public void setShowInfo(Boolean showInfo)
public Boolean getShowStyles()
public void setShowStyles(Boolean showStyles)
public Boolean getShowRulers()
public void setShowRulers(Boolean showRulers)
public Boolean getShowAccessibilityInfo()
public void setShowAccessibilityInfo(Boolean showAccessibilityInfo)
public Boolean getShowExtensionLines()
public void setShowExtensionLines(Boolean showExtensionLines)
public RGBA getContentColor()
public void setContentColor(RGBA contentColor)
public RGBA getPaddingColor()
public void setPaddingColor(RGBA paddingColor)
public RGBA getBorderColor()
public void setBorderColor(RGBA borderColor)
public RGBA getMarginColor()
public void setMarginColor(RGBA marginColor)
public RGBA getEventTargetColor()
public void setEventTargetColor(RGBA eventTargetColor)
public RGBA getShapeColor()
public void setShapeColor(RGBA shapeColor)
public RGBA getShapeMarginColor()
public void setShapeMarginColor(RGBA shapeMarginColor)
public RGBA getCssGridColor()
public void setCssGridColor(RGBA cssGridColor)
public ColorFormat getColorFormat()
public void setColorFormat(ColorFormat colorFormat)
public GridHighlightConfig getGridHighlightConfig()
public void setGridHighlightConfig(GridHighlightConfig gridHighlightConfig)
public FlexContainerHighlightConfig getFlexContainerHighlightConfig()
public void setFlexContainerHighlightConfig(FlexContainerHighlightConfig flexContainerHighlightConfig)
public FlexItemHighlightConfig getFlexItemHighlightConfig()
public void setFlexItemHighlightConfig(FlexItemHighlightConfig flexItemHighlightConfig)
public ContrastAlgorithm getContrastAlgorithm()
public void setContrastAlgorithm(ContrastAlgorithm contrastAlgorithm)
Copyright © 2021 Kenan Klisura. All rights reserved.