public final class Padding extends java.lang.Object implements StyleElement
| Constructor and Description |
|---|
Padding()
Creates "padding: auto";
|
Padding(Length padding)
Creates margin with all edges of length.
|
Padding(Length top,
Length right,
Length bottom,
Length left)
Creates margin with one or all edges.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
draw()
All descendant have to implement how to draw it
|
java.util.Hashtable<Edge,Length> |
getEdges() |
Length |
getPadding() |
public Padding()
public Padding(Length padding)
padding - with Lengthpublic Length getPadding()
public java.lang.String draw()
StyleElementdraw in interface StyleElement