java.lang.Object
com.inductiveautomation.ignition.client.util.gui.PaintingUtils

public class PaintingUtils extends Object
  • Field Details

    • TRANSPARENT

      public static final Color TRANSPARENT
  • Constructor Details

    • PaintingUtils

      public PaintingUtils()
  • Method Details

    • gradient

      public static Color gradient(Color c1, Color c2, double value, double hi)
    • gradient

      public static Color gradient(Color c1, Color c2, double value, double hi, double lo)
    • blendColors

      public static Color blendColors(Color c1, Color c2)
      Blends the colors together.
    • tint

      public static int tint(int rgba, float tR, float tG, float tB, float tA)
    • parseDashPattern

      public static float[] parseDashPattern(String pattern) throws NumberFormatException
      Throws:
      NumberFormatException