private static Media getMediaDpi(Media media)
    {
        Check.notNull(media);

        final DpiType current = dpi;
        if (current == null || current == DpiType.MDPI)
        {
            return media;
        }
        return getClosestDpi(current, media);
    }
private static Media getMediaDpi ( Media media ) { Check . notNull ( media ) ; final DpiType current = dpi ; if ( current == null || current == DpiType . MDPI ) { return media ; } return getClosestDpi ( current , media ) ; }
Get the associated DPI media.

@param media The original media (must not be <code>null</code>).
@return The DPI media, or the original media if no associated DPI found.
@throws LionEngineException If invalid argument.