public class Rectangle extends Object
Modifier and Type | Method and Description |
---|---|
IsColor |
getBackgroundColor()
Returns the background color.
|
String |
getBackgroundColorAsString()
Returns the background color.
|
IsColor |
getBorderColor()
Returns the border color.
|
String |
getBorderColorAsString()
Returns the border color.
|
Position |
getBorderSkipped()
Returns the edge to skip drawing the border for.
|
int |
getBorderWidth()
Returns the border width.
|
void |
setBackgroundColor(IsColor backgroundColor)
Sets the background color.
|
void |
setBackgroundColor(String backgroundColor)
Sets the background color.
|
void |
setBorderColor(IsColor borderColor)
Sets the border color.
|
void |
setBorderColor(String borderColor)
Sets the border color.
|
void |
setBorderSkipped(Position borderSkipped)
Sets the edge to skip drawing the border for.
|
void |
setBorderWidth(int borderWidth)
Sets the border width.
|
public void setBorderSkipped(Position borderSkipped)
borderSkipped
- the edge to skip drawing the border for.public Position getBorderSkipped()
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()