code: public static Xml exports(FramesConfig config)
      {
          Check.notNull(config);
  
          final Xml node = new Xml(NODE_FRAMES);
          node.writeInteger(ATT_HORIZONTAL, config.getHorizontal());
          node.writeInteger(ATT_VERTICAL, config.getVertical());
          node.writeInteger(ATT_OFFSET_X, config.getOffsetX());
          node.writeInteger(ATT_OFFSET_Y, config.getOffsetY());
  
          return node;
      }
docs: Exports the frames node from config.
  
  @param config The config reference (must not be <code>null</code>).
  @return The frames node.
  @throws LionEngineException If unable to read node or invalid integer.