SVGFX is a custom JavaFX controller library that extends ImageView to support Bootstrap icons and other SVG images. It enables high-quality vector SVG rendering, ensuring crisp visuals on any display. SVGFX simplifies scalable graphics integration for visually appealing JavaFX applications.
Add the following dependency to your pom.xml
:
<dependency>
<groupId>com.fluxvend</groupId>
<artifactId>svgfx</artifactId>
<version>0.0.2</version>
</dependency>
Add the following dependency to your build.gradle
:
dependencies {
implementation 'com.fluxvend:svgfx:0.0.2'
}
Clone the repository and build the project manually:
git clone https://github.com/bnnsz/svgfx.git
cd svgfx
mvn clean install
import com.fluxvend.svgfx.BootstrapIcon;
import com.fluxvend.svgfx.icons.Bi;
BootstrapIcon icon = new BootstrapIcon(Bi.ARROW_LEFT_CIRCLE);
icon.setColor("#FF0000");
<?xml version="1.0" encoding="UTF-8"?>
<?import com.fluxvend.svgfx.BootstrapIcon?>
<BootstrapIcon icon="ARROW_LEFT_CIRCLE" color="#FF0000" />
Contributions are welcome! Please read our contributing guidelines to get started.
This project is licensed under the MIT License. See the LICENSE file for details.