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, toString
protected StyleElementType getElementType()
getElementType
in class StyleElement
protected java.lang.String draw()
StyleElement
draw
in class StyleElement
public Length getEdge(Edge edge)
edge
- the edge of lengthpublic Padding setEdge(Edge edge, Length length)
length
- the length of edgeedge
- the edge to set