class PopUpCoachMarkPresenter {

    @PopUpPosition
    protected int findCoachMarkTextPopUpDisplayPosition(Point anchorTop,
                                                      Point anchorBottom,
                                                      @PopUpPosition int defaultPopUpPosition,
                                                      CoachMarkPixelInfo coachMarkDimenInPixel) {
        int centerX = (anchorTop.x + anchorBottom.x) / 2;
        int centerY = (anchorTop.y + anchorBottom.y) / 2;
        Point centerViewPoint = new Point(centerX, centerY);
        return getDisplayPosition(centerViewPoint,
                defaultPopUpPosition, coachMarkDimenInPixel);
    }

    public  PopUpCoachMarkPresenter(final IStringResourceProvider stringResourceProvider,
                                   final IDimensionResourceProvider dimensionResourceProvider,
                                   final ITypeFaceProvider typeFaceProvider,
                                   final IScreenInfoProvider screenInfoProvider);

}