/** * Returns DPI-aware dash gap for dash-based focus painting. * * @param fontSize * The font size of the component for focus painting. * @return DPI-aware dash gap for dash-based focus painting. */ protected static float getDashGap(int fontSize) { return getDashLength(fontSize) / 2.0f; }
/** * Returns DPI-aware dash gap for dash-based focus painting. * * @param fontSize * The font size of the component for focus painting. * @return DPI-aware dash gap for dash-based focus painting. */ protected static float getDashGap(int fontSize) { return getDashLength(fontSize) / 2.0f; }