private static final double getPositionNearSource( int amountOfPixelsAway, TextStrategyParameters parameters ) {
		double length = parameters.getPath().getTotalLength();
		if( length == 0 ) {
			return 0;
		}
		double position = amountOfPixelsAway / length;
		return Math.max( 0, Math.min( 0.5, position ) );
	}