protected Rectangle getContentAreaEdge(int left, int top, CssContext cssCtx) {
public Rectangle getContentAreaEdge(int left, int top, CssContext cssCtx) {
    protected Rectangle getContentAreaEdge(int left, int top, CssContext cssCtx) {        BorderPropertySet border = getStyle().getCalculatedStyle().getBorder(cssCtx);        RectPropertySet padding = getStyle().getPaddingWidth(cssCtx);                float marginLeft = 0;        float marginRight = 0;                float borderLeft = 0;        float borderRight = 0;                float paddingLeft = 0;        float paddingRight = 0;                if (startsHere || endsHere) {            RectPropertySet margin = (RectPropertySet)getStyle().getMarginWidth(cssCtx);            if (startsHere) {                marginLeft = margin.left();                borderLeft = border.left();                paddingLeft = padding.left();            }             if (endsHere) {                marginRight = margin.right();                borderRight = border.right();                paddingRight = padding.right();            }        }                Rectangle result = new Rectangle(                (int)(left + marginLeft + borderLeft + paddingLeft),                 (int)(top - border.top() - padding.top()),                 (int)(getInlineWidth(cssCtx) - marginLeft - borderLeft - paddingLeft                    - paddingRight - borderRight - marginRight),                getHeight());        return result;    }