.. _class_feature_mirror: feature_mirror ============== 镜像特征 -------- **图块代码** .. image:: img/feature_mirror.png ---- **javascript** .. code-block:: javascript jih_doc.feature_mirror(op, axis_dir, color) ---- **python** .. code-block:: python jih_doc.feature_mirror(op, axis_dir, color) ---- **npl** .. code-block:: lua jih_doc:feature_mirror(op, axis_dir, color) ---- 参数 ---- +------------+----------+-------------+--------+ | 参数 | 类型 | 默认值 | 说明 | +============+==========+=============+========+ | op | string | "union" | | +------------+----------+-------------+--------+ | axis_dir | string | "'x'" | | +------------+----------+-------------+--------+ | color | string | "#ffc658" | | +------------+----------+-------------+--------+ 示例 ---- .. tabs:: .. tab:: javascript .. code-block:: javascript jih_doc.feature_mirror("union", 'x', "#ffc658") .. tab:: python .. code-block:: python jih_doc.feature_mirror("union", 'x', "#ffc658") .. tab:: npl .. code-block:: lua jih_doc:feature_mirror("union", 'x', "#ffc658")