Point (DecorationLayer layer, RadComponent component) { Rectangle bounds = getBounds(layer, component); int size = (getSize() + 1) / 2; int x = bounds.x + (int)(bounds.width * myXSeparator) - size; int y = bounds.y + (int)(bounds.height * myYSeparator) - size; return new Point(x, y); }