public class Arc extends Object
Modifier and Type | Method and Description |
---|---|
double |
getAngle()
Returns the arc angle to cover.
|
IsColor |
getBackgroundColor()
Returns the background color.
|
String |
getBackgroundColorAsString()
Returns the background color.
|
BorderAlign |
getBorderAlign()
Returns the property to set the border alignment on chart datasets.
|
IsColor |
getBorderColor()
Returns the border color.
|
String |
getBorderColorAsString()
Returns the border color.
|
int |
getBorderWidth()
Returns the border width.
|
double |
getWeight()
Returns the relative thickness of the dataset.
Providing a value for weight will cause the pie or doughnut dataset to be drawn with a thickness relative to the sum of all the dataset weight values. |
void |
setAngle(double angle)
Sets the arc angle to cover.
|
void |
setBackgroundColor(IsColor backgroundColor)
Sets the background color.
|
void |
setBackgroundColor(String backgroundColor)
Sets the background color.
|
void |
setBorderAlign(BorderAlign align)
Sets the property to set the border alignment on chart datasets.
|
void |
setBorderColor(IsColor borderColor)
Sets the border color.
|
void |
setBorderColor(String borderColor)
Sets the border color.
|
void |
setBorderWidth(int borderWidth)
Sets the border width.
|
void |
setWeight(double weight)
Sets the relative thickness of the dataset.
Providing a value for weight will cause the pie or doughnut dataset to be drawn with a thickness relative to the sum of all the dataset weight values. |
public void setBorderAlign(BorderAlign align)
align
- the property to set the border alignment on chart datasetspublic BorderAlign getBorderAlign()
public void setWeight(double weight)
weight
- the relative thickness of the datasetpublic double getWeight()
public void setAngle(double angle)
angle
- the arc angle to coverpublic double getAngle()
public void setBackgroundColor(IsColor backgroundColor)
backgroundColor
- the background color.public void setBackgroundColor(String backgroundColor)
backgroundColor
- the background color.public String getBackgroundColorAsString()
public IsColor getBackgroundColor()
public void setBorderWidth(int borderWidth)
borderWidth
- the border width.public int getBorderWidth()
public void setBorderColor(IsColor borderColor)
borderColor
- the border color.public void setBorderColor(String borderColor)
borderColor
- the border color.public String getBorderColorAsString()
public IsColor getBorderColor()