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, toString
public 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 StyleElement
protected java.lang.String draw()
StyleElement
draw
in class StyleElement
public int getTop()
public int getRight()
public int getBottom()
public int getLeft()