code: public static FramesConfig imports(Xml root)
      {
          Check.notNull(root);
  
          final Xml node = root.getChild(NODE_FRAMES);
          final int horizontals = node.readInteger(ATT_HORIZONTAL);
          final int verticals = node.readInteger(ATT_VERTICAL);
          final int offsetX = node.readInteger(0, ATT_OFFSET_X);
          final int offsetY = node.readInteger(0, ATT_OFFSET_Y);
  
          return new FramesConfig(horizontals, verticals, offsetX, offsetY);
      }
docs: Imports the frames config from node.
  
  @param root The root reference (must not be <code>null</code>).
  @return The frames data.
  @throws LionEngineException If unable to read node or invalid integer.