public class Padding extends StyleElement
| Constructor and Description |
|---|
Padding() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
draw()
All descendant have to implement how to draw it
|
Length |
getEdge(Edge edge) |
protected StyleElementType |
getElementType() |
Padding |
removeEdge(Edge edge) |
Padding |
setEdge(Edge edge,
Length length)
Sets the padding.
|
drawClass, drawScript, getRoot, setRoot, toStringprotected StyleElementType getElementType()
getElementType in class StyleElementprotected java.lang.String draw()
StyleElementdraw in class StyleElementpublic Length getEdge(Edge edge)
edge - the edge of lengthpublic Padding setEdge(Edge edge, Length length)
length - the length of edgeedge - the edge to set