/** * Returns double arrow icon for the specified parameters. * * @param fontSize * Font size. * @param deltaWidth * Arrow width delta. * @param deltaHeight * Arrow height delta. * @param deltaStrokeWidth * Arrow stroke width delta. * @param direction * Arrow direction. * @param colorScheme * Color scheme for the arrow. * @return Double arrow icon. */ public static Icon getDoubleArrowIconDelta(int fontSize, float deltaWidth, float deltaHeight, float deltaStrokeWidth, int direction, SubstanceColorScheme colorScheme) { float arrowWidth = SubstanceSizeUtils.getArrowIconWidth(fontSize) + deltaWidth; float arrowHeight = SubstanceSizeUtils.getArrowIconHeight(fontSize) + deltaHeight; float arrowStrokeWidth = SubstanceSizeUtils .getDoubleArrowStrokeWidth(fontSize) + deltaStrokeWidth; return getDoubleArrowIcon(fontSize, arrowWidth, arrowHeight, arrowStrokeWidth, direction, colorScheme); }
/** * Returns double arrow icon for the specified parameters. * * @param fontSize * Font size. * @param deltaWidth * Arrow width delta. * @param deltaHeight * Arrow height delta. * @param deltaStrokeWidth * Arrow stroke width delta. * @param direction * Arrow direction. * @param colorScheme * Color scheme for the arrow. * @return Double arrow icon. */ public static Icon getDoubleArrowIconDelta(int fontSize, float deltaWidth, float deltaHeight, float deltaStrokeWidth, int direction, SubstanceColorScheme colorScheme) { float arrowWidth = SubstanceSizeUtils.getArrowIconWidth(fontSize) + deltaWidth; float arrowHeight = SubstanceSizeUtils.getArrowIconHeight(fontSize) + deltaHeight; float arrowStrokeWidth = SubstanceSizeUtils .getDoubleArrowStrokeWidth(fontSize) + deltaStrokeWidth; return getDoubleArrowIcon(fontSize, arrowWidth, arrowHeight, arrowStrokeWidth, direction, colorScheme); }