Class MapBoxFontWeightFunction

Object
ExpressionAbstract
FunctionImpl
MapBoxFontWeightFunction
All Implemented Interfaces:
Expression, Function

public class MapBoxFontWeightFunction extends FunctionImpl
Returns "bold" or "normal" based on the font name
  • Field Details

  • Constructor Details

    • MapBoxFontWeightFunction

      public MapBoxFontWeightFunction()
  • Method Details

    • evaluate

      public Object evaluate(Object object)
      Description copied from class: FunctionImpl
      Default implementation simply returns the fallbackValue.

      Please override this method to produce a value based on the provided arguments.

      Specified by:
      evaluate in interface Expression
      Overrides:
      evaluate in class FunctionImpl
      Parameters:
      object - Object being evaluated; often a Feature
      Returns:
      value for the provided object