Class FSCMYKColor

java.lang.Object
com.openhtmltopdf.css.parser.FSCMYKColor
All Implemented Interfaces:
FSColor

public class FSCMYKColor
extends Object
implements FSColor
  • Constructor Details

    • FSCMYKColor

      public FSCMYKColor​(float c, float m, float y, float k)
  • Method Details

    • getCyan

      public float getCyan()
    • getMagenta

      public float getMagenta()
    • getYellow

      public float getYellow()
    • getBlack

      public float getBlack()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • lightenColor

      public FSColor lightenColor()
      Specified by:
      lightenColor in interface FSColor
    • darkenColor

      public FSColor darkenColor()
      Specified by:
      darkenColor in interface FSColor
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals​(Object obj)
      Overrides:
      equals in class Object