Class HKColor

java.lang.Object
com.biodigital.humansdk.HKColor

public class HKColor extends Object
Color object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double
    brightness - value between 0 and 1, default is 0.0
    double
    contrast - value between 0 and 1, default is 0.0
    double
    opacity - alpha value between 0 and 1, default is 1.0
    double
    saturation - value between -1 and 1, default is 0.0
    double[]
    tint - color values for red, green, blue - between 0 and 1
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • tint

      public double[] tint
      tint - color values for red, green, blue - between 0 and 1
    • opacity

      public double opacity
      opacity - alpha value between 0 and 1, default is 1.0
    • brightness

      public double brightness
      brightness - value between 0 and 1, default is 0.0
    • saturation

      public double saturation
      saturation - value between -1 and 1, default is 0.0
    • contrast

      public double contrast
      contrast - value between 0 and 1, default is 0.0
  • Constructor Details

    • HKColor

      public HKColor()