public final class Margin extends java.lang.Object implements StyleElement
| Constructor and Description |
|---|
Margin()
Creates "margin: auto".
|
Margin(Length margin)
Creates margin with all edges of length.
|
Margin(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 |
getMargin() |
public Margin()
public Margin(Length margin)
margin - with Lengthpublic java.lang.String draw()
StyleElementdraw in interface StyleElementpublic Length getMargin()