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.
|
BorderSkipped |
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(boolean borderSkipped)
Sets the edge to skip drawing the border for.
|
void |
setBorderSkipped(BorderSkipped borderSkipped)
Sets the edge to skip drawing the border for.
|
void |
setBorderWidth(int borderWidth)
Sets the border width.
|
public void setBorderSkipped(boolean borderSkipped)
borderSkipped - to set false as border skipped. If set true, is ignoredpublic void setBorderSkipped(BorderSkipped borderSkipped)
borderSkipped - the edge to skip drawing the border for.public BorderSkipped 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()