code: public static RasterData load(Xml root, String color)
      {
          final Xml node = root.getChild(color);
          final double force = node.readDouble(ATT_FORCE);
          final int amplitude = node.readInteger(ATT_AMPLITUDE);
          final int offset = node.readInteger(ATT_OFFSET);
          final int type = node.readInteger(ATT_TYPE);
  
          return new RasterData(force, amplitude, offset, type);
      }
docs: Load raster data from node.
  
  @param root The raster node.
  @param color The raster color name.
  @return The raster data.