mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-12 23:07:15 -06:00
FlatSVGIcon: fixed javadoc issues
This commit is contained in:
@@ -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 -> 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 -> 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 -> 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 -> 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 -> 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 -> Color.RED );</pre>
|
||||||
*
|
*
|
||||||
* @param mapper The color mapper function
|
* @param mapper The color mapper function
|
||||||
* @since 1.2
|
* @since 1.2
|
||||||
|
|||||||
Reference in New Issue
Block a user