https://github.com/flowarg/materialdesignfontfx
The Jensd' Material Design Font library updated
https://github.com/flowarg/materialdesignfontfx
Last synced: 5 months ago
JSON representation
The Jensd' Material Design Font library updated
- Host: GitHub
- URL: https://github.com/flowarg/materialdesignfontfx
- Owner: FlowArg
- License: apache-2.0
- Created: 2023-06-12T23:11:43.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-04T19:08:50.000Z (almost 2 years ago)
- Last Synced: 2025-03-17T07:47:41.423Z (12 months ago)
- Language: Java
- Size: 864 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
[version]: https://img.shields.io/maven-central/v/fr.flowarg/materialdesignfontfx.svg?label=Download
[download]: https://central.sonatype.com/artifact/fr.flowarg/materialdesignfontfx
[ ![version][] ][download]
# MaterialDesignFont for JavaFx
This is the updated version of the [Jensd's lib](https://bitbucket.org/Jerady/fontawesomefx/src/master/fontawesomefx/fontawesomefx-materialdesignfont/).
The icons are made by the [Pictogrammers](https://pictogrammers.com) ([mdi](https://pictogrammers.com/library/mdi) icons collection). These project is basically a port of the web version for JavaFx.
It's made for Java 17.
## Download
MaterialDesignFontFX is available on Maven Central.
### Maven
```xml
fr.flowarg
materialdesignfontfx
VERSION
```
### Gradle
```gradle
dependencies {
implementation 'fr.flowarg:materialdesignfontfx:VERSION'
}
```
## Usage
```java
import fr.flowarg.materialdesignfontfx.MaterialDesignIcon;
import fr.flowarg.materialdesignfontfx.MaterialDesignIconView;
public class Main extends Application
{
@Override
public void start(Stage primaryStage)
{
// scene logic
var accountIcon = new MaterialDesignIconView<>(MaterialDesignIcon.A.ACCOUNT);
var yinYangIcon = new MaterialDesignIconView<>(MaterialDesignIcon.Y.YIN_YANG);
// add the icons to your UI
}
}
```
## Generator
The Generator subproject aims to generate the `MaterialDesignIcon` class with the provided _variables.scss file.