{`Overlays a soft-edged, tiltable highlight band on text, icons, or other content and sweeps it from left to right; the highlight only lands on the content's opaque pixels while the content keeps its own colors.`}
+{`Shimmer is a self-drawn widget implemented in C: it first composites the content at full strength in its own colors, then overlays a tilted highlight band clipped to the content's opaque pixels. The highlight itself can be configured with a color, period, width, and tilt, either through widget properties or the matching [bgcolor=#eee] ui_shimmer_set_* [/bgcolor] APIs:`}
+{`Use the following composition to build a [bgcolor=#eee] Shimmer [/bgcolor]:`}
+{`The highlight band takes its color from [bgcolor=#eee] color [/bgcolor], and its alpha is the peak strength where it sweeps. Overlaying different colors on the same gray text tints the sweep toward each hue as it passes.`}
+{`[bgcolor=#eee] duration [/bgcolor] sets how long one sweep takes, in milliseconds; it defaults to [bgcolor=#eee] 2000 [/bgcolor]. A smaller value sweeps faster.`}
+{`[bgcolor=#eee] spread [/bgcolor] sets the width of the highlight band in logical pixels. A narrow band reads as a sharp glint, while a wide one washes over the whole row at once, with the same peak strength and only a different span.`}
+{`[bgcolor=#eee] angle [/bgcolor] tilts the band relative to vertical, in degrees. At 0° every row is swept at the same column; when tilted, the glint shears along the height, grazing the top before the lower part.`}
+{`Set [bgcolor=#eee] running [/bgcolor] to [bgcolor=#eee] false [/bgcolor] to stop the animation: no highlight is added and the content shows in its own colors.`}
+{`The shimmer container; it captures the [bgcolor=#eee] ShimmerContent [/bgcolor] subtree, composites it at full strength in its own colors, then overlays a tiltable highlight band that fades out on both sides, clipped to the content's opaque pixels. The highlight sweeps from left to right and only shows on the content.`}
+{`The captured content subtree (such as a status row of text, or an icon plus text), used as a direct child of Shimmer. When omitted, a default placeholder block filling the whole row is used. Shimmer is block-level with a height of 20px by default, which can be overridden with [bgcolor=#eee] width [/bgcolor]/[bgcolor=#eee] height [/bgcolor].`}
+{`A self-drawn spinning indicator used to express a "loading" state.`}
+{`Use the following composition to build a [bgcolor=#eee] Spinner [/bgcolor]:`}
+{`The spinner container; it captures the [bgcolor=#eee] SpinnerContent [/bgcolor] subtree and draws it rotated about its center. It is 16×16 by default and can be overridden with [bgcolor=#eee] width [/bgcolor]/[bgcolor=#eee] height [/bgcolor].`}
+{`The content subtree captured for rotation, used as a direct child of Spinner. When omitted, a default ring is used, with one side left transparent to form a gap that sweeps around as it rotates.`}
+{`给文本、图标等内容叠加一道左右柔化、可倾斜的高光带,从左往右扫过;高光只落在内容的不透明像素上,内容本身保持原色。`}
+{`Shimmer 是 C 代码自绘部件:先按原色完整合成内容,再把一道带倾斜的高光带裁剪到内容的不透明像素上叠加。高光本身可配置颜色、周期、宽度与倾斜角,通过部件属性或对应的 [bgcolor=#eee] ui_shimmer_set_* [/bgcolor] 接口设置:`}
+{`使用以下组合来构建 [bgcolor=#eee] Shimmer [/bgcolor]:`}
+{`高光带叠加的颜色取自 [bgcolor=#eee] color [/bgcolor],其 alpha 就是扫过处的峰值强度。同一段灰字上叠不同颜色,扫过时会被“染”向各自的色相。`}
+{`[bgcolor=#eee] duration [/bgcolor] 决定高光扫过一次所需的时间,单位为毫秒,默认 [bgcolor=#eee] 2000 [/bgcolor]。值越小扫得越快。`}
+{`[bgcolor=#eee] spread [/bgcolor] 决定高光带的宽度(逻辑像素)。窄带像一道锐利反光,宽带则一次漫过整行,峰值强度不变、只是覆盖范围不同。`}
+{`[bgcolor=#eee] angle [/bgcolor] 让高光带相对竖直方向倾斜(度数)。0° 时各行在同一列被扫到,倾斜后反光沿高度错切,先从顶部掠过再到下方。`}
+{`把 [bgcolor=#eee] running [/bgcolor] 设为 [bgcolor=#eee] false [/bgcolor] 即可关闭动画:此时不再叠加高光,内容按原色正常显示。`}
+{`扫光容器,捕获 [bgcolor=#eee] ShimmerContent [/bgcolor] 子树;先按原色完整合成内容,再叠加一道可倾斜、左右渐隐的高光带并裁剪到内容不透明处。高光从左往右扫过,只在内容上显现。`}
+{`被捕获的内容子树(如文本或图标加文字的状态行),作为 Shimmer 的直属子部件使用;省略时使用一个填满整行的默认占位块。Shimmer 默认块级、高度 20px,可用 [bgcolor=#eee] width [/bgcolor]/[bgcolor=#eee] height [/bgcolor] 覆盖。`}
+{`用于表达“加载中”的自绘旋转指示器部件。`}
+{`使用以下组合来构建 [bgcolor=#eee] Spinner [/bgcolor]:`}
+{`旋转指示器容器,捕获 [bgcolor=#eee] SpinnerContent [/bgcolor] 子树并绕其中心旋转绘制。默认自带 16×16 尺寸,可用 [bgcolor=#eee] width [/bgcolor]/[bgcolor=#eee] height [/bgcolor] 覆盖。`}
+{`被旋转捕获的内容子树,作为 Spinner 的直接子部件使用;省略时使用默认的圆环,其中一边透明形成随旋转扫过的缺口。`}
+