Class InsetsConverter

java.lang.Object
org.jhotdraw8.css.converter.AbstractCssConverter<javafx.geometry.Insets>
org.jhotdraw8.draw.css.converter.InsetsConverter
All Implemented Interfaces:
org.jhotdraw8.base.converter.Converter<javafx.geometry.Insets>, CssConverter<javafx.geometry.Insets>

public class InsetsConverter extends AbstractCssConverter<javafx.geometry.Insets>
Converts a Insets object into a String and vice versa.

List of four sizes in the sequence top, right, bottom, left. If left is omitted, it is the same as right. If bottom is omitted, it is the same as top. If right is omitted it is the same as top.

 insets       = top-right-bottom-left ;
 insets       = top-bottom, right-left ;
 insets       = top , right , bottom, left ;
 
*
Author:
Werner Randelshofer