public class Clip extends StyleElement
| Constructor and Description |
|---|
Clip()
Default constructor means "auto"
|
Clip(int top,
int right,
int bottom,
int left)
Creates rect shape element with given values
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
draw()
All descendant have to implement how to draw it
|
int |
getBottom() |
protected StyleElementType |
getElementType() |
int |
getLeft() |
int |
getRight() |
java.lang.String |
getShape() |
int |
getTop() |
drawClass, drawScript, getRoot, setRoot, toStringpublic Clip()
public Clip(int top,
int right,
int bottom,
int left)
top - width in pixelsright - width in pixelsbottom - width in pixelsleft - width in pixelspublic java.lang.String getShape()
protected StyleElementType getElementType()
getElementType in class StyleElementprotected java.lang.String draw()
StyleElementdraw in class StyleElementpublic int getTop()
public int getRight()
public int getBottom()
public int getLeft()