public final class Clip extends java.lang.Object implements 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 |
---|---|
java.lang.String |
draw()
All descendant have to implement how to draw it
|
int |
getBottom() |
int |
getLeft() |
int |
getRight() |
java.lang.String |
getShape() |
int |
getTop() |
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 draw()
StyleElement
draw
in interface StyleElement
public java.lang.String getShape()
public int getTop()
public int getRight()
public int getBottom()
public int getLeft()