/** @see IFigure#translateToParent(Translatable) */ public void translateToParent(Translatable t) { if (useLocalCoordinates()) t.performTranslate(getBounds().x + getInsets().left, getBounds().y + getInsets().top); }
/** @see IFigure#translateFromParent(Translatable) */ public void translateFromParent(Translatable t) { if (useLocalCoordinates()) t.performTranslate(-getBounds().x - getInsets().left, -getBounds().y - getInsets().top); }