Class MarkerUtils
- java.lang.Object
-
- org.insa.graphs.gui.drawing.overlays.MarkerUtils
-
public class MarkerUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MarkerUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.awt.Image
getMarkerForColor(java.awt.Color outer, java.awt.Color inner, Drawing.AlphaMode mode)
Create an image to represent a marker using the given color for the outer and inner part, and the given mode for the inner part.
-
-
-
Method Detail
-
getMarkerForColor
public static java.awt.Image getMarkerForColor(java.awt.Color outer, java.awt.Color inner, Drawing.AlphaMode mode)
Create an image to represent a marker using the given color for the outer and inner part, and the given mode for the inner part.- Parameters:
outer
- Outer color of the marker.inner
- Inner color of the marker.mode
- Mode to use to fill the inner part of the marker.- Returns:
- An image representing a marker.
-
-