public class RadialAngleLines extends Object
Modifier and Type | Method and Description |
---|---|
Axis |
getAxis()
Returns the axis instance.
|
List<Integer> |
getBorderDash()
Returns the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.
|
BorderDashCallback<ScaleContext> |
getBorderDashCallback()
Returns the border dash callback when element is hovered, if set, otherwise
null . |
double |
getBorderDashOffset()
Returns the line dash pattern offset.
|
BorderDashOffsetCallback<ScaleContext> |
getBorderDashOffsetCallback()
Returns the border dash offset callback instance.
|
IsColor |
getColor()
Returns the color of angled lines.
|
String |
getColorAsString()
Returns the color of angled lines.
|
ColorCallback<ScaleContext> |
getColorCallback()
Returns the color callback instance.
|
int |
getLineWidth()
Returns the width of angled lines.
|
WidthCallback<ScaleContext> |
getLineWidthCallback()
Returns the line width callback instance.
|
boolean |
isDisplay()
If true, angle lines are shown
|
void |
setBorderDash(BorderDashCallback<ScaleContext> borderDashCallback)
Sets the border dash callback when element is hovered.
|
void |
setBorderDash(int... borderDash)
Sets the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.
|
void |
setBorderDash(NativeCallback borderDashCallback)
Sets the border dash callback when element is hovered.
|
void |
setBorderDashOffset(BorderDashOffsetCallback<ScaleContext> borderDashOffsetCallback)
Sets the border dash offset callback instance.
|
void |
setBorderDashOffset(double borderDashOffset)
Sets the line dash pattern offset.
|
void |
setBorderDashOffset(NativeCallback borderDashOffsetCallback)
Sets the border dash offset callback instance.
|
void |
setColor(ColorCallback<ScaleContext> colorCallback)
Sets the color callback instance.
|
void |
setColor(IsColor color)
Sets the color of angled lines.
|
void |
setColor(NativeCallback colorCallback)
Sets the color callback instance.
|
void |
setColor(String color)
Sets the color of angled lines.
|
void |
setDisplay(boolean display)
If true, angle lines are shown
|
void |
setLineWidth(int lineWidth)
Sets the width of angled lines.
|
void |
setLineWidth(NativeCallback lineWidthCallback)
Sets the line width callback instance.
|
void |
setLineWidth(WidthCallback<ScaleContext> lineWidthCallback)
Sets the line width callback instance.
|
public void setDisplay(boolean display)
display
- if true, angle lines are shownpublic boolean isDisplay()
public void setColor(IsColor color)
color
- color of angled lines.public void setColor(String color)
color
- color of angled lines.public String getColorAsString()
public IsColor getColor()
public void setLineWidth(int lineWidth)
lineWidth
- width of angled lines.public int getLineWidth()
public void setBorderDash(int... borderDash)
borderDash
- the line dash pattern used when stroking linespublic List<Integer> getBorderDash()
public void setBorderDashOffset(double borderDashOffset)
borderDashOffset
- Offset for line dashes.public double getBorderDashOffset()
public BorderDashCallback<ScaleContext> getBorderDashCallback()
null
.null
.public void setBorderDash(BorderDashCallback<ScaleContext> borderDashCallback)
borderDashCallback
- the border dash callback when element is hovered.public void setBorderDash(NativeCallback borderDashCallback)
borderDashCallback
- the border dash callback when element is hovered.public ColorCallback<ScaleContext> getColorCallback()
public void setColor(ColorCallback<ScaleContext> colorCallback)
colorCallback
- the color callback instancepublic void setColor(NativeCallback colorCallback)
colorCallback
- the color callback instancepublic WidthCallback<ScaleContext> getLineWidthCallback()
public void setLineWidth(WidthCallback<ScaleContext> lineWidthCallback)
lineWidthCallback
- the line width callback instance.public void setLineWidth(NativeCallback lineWidthCallback)
lineWidthCallback
- the line width callback instance.public BorderDashOffsetCallback<ScaleContext> getBorderDashOffsetCallback()
public void setBorderDashOffset(BorderDashOffsetCallback<ScaleContext> borderDashOffsetCallback)
borderDashOffsetCallback
- the border dash offset callback instancepublic void setBorderDashOffset(NativeCallback borderDashOffsetCallback)
borderDashOffsetCallback
- the border dash offset callback instancepublic final Axis getAxis()