BoxPainter(AttributeSet as)
BoxPainter(AttributeSet as, StyleSheet ss)
    BoxPainter(AttributeSet as)    {      Length l = (Length) as.getAttribute(CSS.Attribute.MARGIN_LEFT);      if (l != null)        leftInset = l.getValue();      l = (Length) as.getAttribute(CSS.Attribute.MARGIN_RIGHT);      if (l != null)        rightInset = l.getValue();      l = (Length) as.getAttribute(CSS.Attribute.MARGIN_TOP);      if (l != null)        topInset = l.getValue();      l = (Length) as.getAttribute(CSS.Attribute.MARGIN_BOTTOM);      if (l != null)        bottomInset = l.getValue();    }