Class RGBICCColorFunction

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

class RGBICCColorFunction extends FunctionBase
Implements the rgb-icc() function.
  • Constructor Details

    • RGBICCColorFunction

      RGBICCColorFunction()
  • Method Details

    • getRequiredArgsCount

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

      public boolean hasVariableArgs()
      Description copied from class: FunctionBase
      Determine if function allows variable arguments. If it does, then they must appear after required and optional arguments, and all optional arguments must be specified.
      Specified by:
      hasVariableArgs in interface Function
      Overrides:
      hasVariableArgs in class FunctionBase
      Returns:
      true if function permits additional variable number of arguments after required and (completely specified) optional arguments
    • 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