Search in sources :

Example 1 with CountryPath

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);
    }
}
Also used : CountryPath(eu.hansolo.tilesfx.tools.CountryPath)

Aggregations

CountryPath (eu.hansolo.tilesfx.tools.CountryPath)1