public class CanvasOverlay extends Object implements Element
| Constructor and Description |
|---|
CanvasOverlay()
Instantiates a new canvas overlay.
|
CanvasOverlay(String name)
Instantiates a new canvas overlay.
|
| Modifier and Type | Method and Description |
|---|---|
DashedHorizontalLine |
dashedHorizontalLineInstance()
Get a
DashedHorizontalLine instance |
DashedVerticalLine |
dashedVerticalLineInstance()
Get a
DashedVerticalLine instance |
String |
getColor()
Gets the color.
|
Boolean |
getFadeTooltip()
Gets the fadeTooltip.
|
String |
getLineCap()
Gets the line cap.
|
Integer |
getLineWidth()
Gets the line width.
|
String |
getName()
Gets the name.
|
Collection<LineObject> |
getObjects()
Gets the objects.
|
Boolean |
getShadow()
Gets the shadow.
|
Boolean |
getShow()
Gets the show.
|
Boolean |
getShowTooltip()
Gets the showTooltip.
|
Float |
getShowTooltipPrecision()
Gets the showTooltipPrecision.
|
String |
getTooltipFadeSpeed()
Gets the tooltipFadeSpeed.
|
String |
getTooltipFormatString()
Gets the tooltipFormatString.
|
String |
getTooltipLocation()
Gets the tooltipLocation.
|
Integer |
getTooltipOffset()
Gets the tooltipOffset.
|
String |
getXOffset()
Gets the xOffset.
|
HorizontalLine |
horizontalLineInstance()
Get a
HorizontalLine instance |
Collection<LineObject> |
objectsInstance()
Instantiates the objects.
|
CanvasOverlay |
setColor(String color)
Sets the color.
|
void |
setFadeTooltip(Boolean fadeTooltip)
Sets the fadeTooltip.
|
CanvasOverlay |
setLineCap(String lineCap)
Sets the line cap.
|
CanvasOverlay |
setLineWidth(Integer lineWidth)
Sets the line width.
|
void |
setName(String name)
Sets the name.
|
CanvasOverlay |
setObjects(Collection<LineObject> objects)
Sets the objects.
|
CanvasOverlay |
setShadow(Boolean shadow)
Sets the shadow.
|
void |
setShow(Boolean show)
Sets the show.
|
void |
setShowTooltip(Boolean showTooltip)
Sets the showTooltip.
|
void |
setShowTooltipPrecision(Float showTooltipPrecision)
Sets the showTooltipPrecision.
|
void |
setTooltipFadeSpeed(String tooltipFadeSpeed)
Sets the tooltipFadeSpeed.
|
void |
setTooltipFormatString(String tooltipFormatString)
Sets the tooltipFormatString.
|
void |
setTooltipLocation(String tooltipLocation)
Sets the tooltipLocation.
|
void |
setTooltipOffset(Integer tooltipOffset)
Sets the tooltipOffset.
|
CanvasOverlay |
setXOffset(String xOffset)
Sets the xOffset.
|
VerticalLine |
verticalLineInstance()
Get a
VerticalLine instance |
public CanvasOverlay()
public CanvasOverlay(String name)
name - the namepublic String getName()
public void setName(String name)
name - the new namepublic Boolean getShow()
public void setShow(Boolean show)
show - the new showpublic Integer getLineWidth()
public CanvasOverlay setLineWidth(Integer lineWidth)
lineWidth - the new line widthpublic String getLineCap()
public CanvasOverlay setLineCap(String lineCap)
lineCap - the new line cappublic String getColor()
public CanvasOverlay setColor(String color)
color - the new colorpublic Boolean getShadow()
public CanvasOverlay setShadow(Boolean shadow)
shadow - the new shadowpublic Boolean getShowTooltip()
public void setShowTooltip(Boolean showTooltip)
showTooltip - the new showTooltippublic Float getShowTooltipPrecision()
public void setShowTooltipPrecision(Float showTooltipPrecision)
showTooltipPrecision - the new showTooltipPrecisionpublic String getTooltipLocation()
public void setTooltipLocation(String tooltipLocation)
tooltipLocation - the new tooltipLocationpublic Boolean getFadeTooltip()
public void setFadeTooltip(Boolean fadeTooltip)
fadeTooltip - the new fadeTooltippublic String getTooltipFadeSpeed()
public void setTooltipFadeSpeed(String tooltipFadeSpeed)
tooltipFadeSpeed - the new tooltipFadeSpeedpublic Integer getTooltipOffset()
public void setTooltipOffset(Integer tooltipOffset)
tooltipOffset - the new tooltipOffsetpublic String getTooltipFormatString()
public void setTooltipFormatString(String tooltipFormatString)
tooltipFormatString - the new tooltipFormatStringpublic String getXOffset()
public CanvasOverlay setXOffset(String xOffset)
xOffset - the new xOffsetpublic Collection<LineObject> objectsInstance()
public Collection<LineObject> getObjects()
public CanvasOverlay setObjects(Collection<LineObject> objects)
objects - the objects to setpublic DashedHorizontalLine dashedHorizontalLineInstance()
DashedHorizontalLine instancepublic DashedVerticalLine dashedVerticalLineInstance()
DashedVerticalLine instancepublic HorizontalLine horizontalLineInstance()
HorizontalLine instancepublic VerticalLine verticalLineInstance()
VerticalLine instanceCopyright © 2025. All rights reserved.