use of eu.hansolo.tilesfx.tools.CountryPath in project tilesfx by HanSolo.
the class WorldMapTileSkin method setCountryFillAndStroke.
private void setCountryFillAndStroke(final Country COUNTRY, final Color FILL, final Color STROKE) {
List<CountryPath> paths = countryPaths.get(COUNTRY.getName());
for (CountryPath path : paths) {
path.setFill(FILL);
path.setStroke(STROKE);
}
}
Aggregations