Class StyleUtil
java.lang.Object
com.vividsolutions.jump.workbench.ui.renderer.style.StyleUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAvailableValues(ColorThemingStyle style, FeatureCollection fc) [Giuseppe Aruta 2018_10-30] Gets available values of styles from feature collectionstatic voidpaint(org.locationtech.jts.geom.Geometry geometry, Graphics2D g, Viewport viewport, boolean renderingFill, Stroke fillStroke, Paint fillPaint, boolean renderingLine, Stroke lineStroke, Color lineColor) Smart enough to not fill LineStrings.
-
Constructor Details
-
StyleUtil
public StyleUtil()
-
-
Method Details
-
paint
public static void paint(org.locationtech.jts.geom.Geometry geometry, Graphics2D g, Viewport viewport, boolean renderingFill, Stroke fillStroke, Paint fillPaint, boolean renderingLine, Stroke lineStroke, Color lineColor) throws NoninvertibleTransformException Smart enough to not fill LineStrings.- Throws:
NoninvertibleTransformException
-
getAvailableValues
[Giuseppe Aruta 2018_10-30] Gets available values of styles from feature collection- Parameters:
style- a ColorTheming stylefc- a FeatureCollection- Returns:
- a list of style values actually used in the FeatureCollection
-