diff --git a/flatlaf-extras/src/main/java/com/formdev/flatlaf/extras/FlatSVGIcon.java b/flatlaf-extras/src/main/java/com/formdev/flatlaf/extras/FlatSVGIcon.java index a4388ba3..04297140 100644 --- a/flatlaf-extras/src/main/java/com/formdev/flatlaf/extras/FlatSVGIcon.java +++ b/flatlaf-extras/src/main/java/com/formdev/flatlaf/extras/FlatSVGIcon.java @@ -308,10 +308,10 @@ public class FlatSVGIcon * {@link ColorFilter#ColorFilter(Function)} constructor. *
* This can be used to brighten colors of the icon: - *
icon.setColorFilter( new FlatSVGIcon.ColorFilter( color -> color.brighter() ) );+ *
icon.setColorFilter( new FlatSVGIcon.ColorFilter( color -> color.brighter() ) );*
* Using a filter, icons can also be turned monochrome (painted with a single color): - *
icon.setColorFilter( new FlatSVGIcon.ColorFilter( color -> Color.RED ) );+ *
icon.setColorFilter( new FlatSVGIcon.ColorFilter( color -> Color.RED ) );*
* Note: If a filter is already set, it will be replaced. * @@ -560,10 +560,10 @@ public class FlatSVGIcon *
* Examples: * A ColorFilter can be used to brighten colors of the icon: - *
new ColorFilter( color -> color.brighter() );+ *
new ColorFilter( color -> color.brighter() );*
* Using a ColorFilter, icons can also be turned monochrome (painted with a single color): - *
new ColorFilter( color -> Color.RED );+ *
new ColorFilter( color -> Color.RED );* * @param mapper The color mapper function * @since 1.2 @@ -587,10 +587,10 @@ public class FlatSVGIcon *
* Examples: * A ColorFilter can be used to brighten colors of the icon: - *
filter.setMapper( color -> color.brighter() );+ *
filter.setMapper( color -> color.brighter() );*
* Using a ColorFilter, icons can also be turned monochrome (painted with a single color): - *
filter.setMapper( color -> Color.RED );+ *
filter.setMapper( color -> Color.RED );* * @param mapper The color mapper function * @since 1.2