FlatSVGIcon: fixed javadoc issues

This commit is contained in:
Karl Tauber
2021-04-22 14:27:14 +02:00
parent d97146393c
commit 89c5a0c57b

View File

@@ -308,10 +308,10 @@ public class FlatSVGIcon
* {@link ColorFilter#ColorFilter(Function)} constructor. * {@link ColorFilter#ColorFilter(Function)} constructor.
* <p> * <p>
* This can be used to brighten colors of the icon: * This can be used to brighten colors of the icon:
* <pre>icon.setColorFilter( new FlatSVGIcon.ColorFilter( color -> color.brighter() ) );</pre> * <pre>icon.setColorFilter( new FlatSVGIcon.ColorFilter( color -&gt; color.brighter() ) );</pre>
* <p> * <p>
* Using a filter, icons can also be turned monochrome (painted with a single color): * Using a filter, icons can also be turned monochrome (painted with a single color):
* <pre>icon.setColorFilter( new FlatSVGIcon.ColorFilter( color -> Color.RED ) );</pre> * <pre>icon.setColorFilter( new FlatSVGIcon.ColorFilter( color -&gt; Color.RED ) );</pre>
* <p> * <p>
* Note: If a filter is already set, it will be replaced. * Note: If a filter is already set, it will be replaced.
* *
@@ -560,10 +560,10 @@ public class FlatSVGIcon
* <p> * <p>
* Examples: * Examples:
* A ColorFilter can be used to brighten colors of the icon: * A ColorFilter can be used to brighten colors of the icon:
* <pre>new ColorFilter( color -> color.brighter() );</pre> * <pre>new ColorFilter( color -&gt; color.brighter() );</pre>
* <p> * <p>
* Using a ColorFilter, icons can also be turned monochrome (painted with a single color): * Using a ColorFilter, icons can also be turned monochrome (painted with a single color):
* <pre>new ColorFilter( color -> Color.RED );</pre> * <pre>new ColorFilter( color -&gt; Color.RED );</pre>
* *
* @param mapper The color mapper function * @param mapper The color mapper function
* @since 1.2 * @since 1.2
@@ -587,10 +587,10 @@ public class FlatSVGIcon
* <p> * <p>
* Examples: * Examples:
* A ColorFilter can be used to brighten colors of the icon: * A ColorFilter can be used to brighten colors of the icon:
* <pre>filter.setMapper( color -> color.brighter() );</pre> * <pre>filter.setMapper( color -&gt; color.brighter() );</pre>
* <p> * <p>
* Using a ColorFilter, icons can also be turned monochrome (painted with a single color): * Using a ColorFilter, icons can also be turned monochrome (painted with a single color):
* <pre>filter.setMapper( color -> Color.RED );</pre> * <pre>filter.setMapper( color -&gt; Color.RED );</pre>
* *
* @param mapper The color mapper function * @param mapper The color mapper function
* @since 1.2 * @since 1.2