Class CIELabColorFunction

java.lang.Object
org.apache.fop.fo.expr.FunctionBase
org.apache.fop.fo.expr.CIELabColorFunction
All Implemented Interfaces:
Function

class CIELabColorFunction extends FunctionBase
Implements the cie-lab-color() function.
Since:
XSL-FO 2.0
  • Constructor Details

    • CIELabColorFunction

      CIELabColorFunction()
  • Method Details

    • getRequiredArgsCount

      public int getRequiredArgsCount()
      Returns:
      the number of required (non-optional) arguments that must be specified in the argument list
    • getPercentBase

      public PercentBase getPercentBase()
      Description copied from class: FunctionBase
      Specified by:
      getPercentBase in interface Function
      Overrides:
      getPercentBase in class FunctionBase
      Returns:
      the basis for percentage calculations
    • eval

      public Property eval(Property[] args, PropertyInfo pInfo) throws PropertyException
      Evaluate the function
      Parameters:
      args - an array of Properties that should be evaluated
      pInfo - property information instance that applies to property being evaluated
      Returns:
      the Property satisfying the function
      Throws:
      PropertyException - for problems when evaluating the function