Modifier and Type | Field and Description |
---|---|
static BorderLine |
BOTTOM
the bottom line
|
static BorderLine |
LEFT
the left line
|
static BorderLine |
RIGHT
the right line
|
static BorderLine |
TOP
the top line
|
Modifier and Type | Method and Description |
---|---|
int |
getMask()
Method getMask returns the mask of this BorderLine object.
|
String |
getName()
Method getName returns the name of this BorderLine object.
|
BorderLine |
getOpposite()
Gets a line that is opposite to this one.
|
boolean |
isVisible(int mask)
Checks whether the line is visible by a bitmap.
|
protected void |
setOpposite(BorderLine opposite)
Sets an opposite line to this one.
|
String |
toString()
Gets a string representation of the line.
|
public static final BorderLine TOP
public static final BorderLine LEFT
public static final BorderLine RIGHT
public static final BorderLine BOTTOM
public String getName()
public int getMask()
public boolean isVisible(int mask)
mask
- is a mask of the bitmap.true
if the line is visible in the bitmap.public BorderLine getOpposite()
protected void setOpposite(BorderLine opposite)
opposite
- is an opposite line.Copyright © 2008–2013. All rights reserved.