Layout Entity Element
布局中的图片、玩家头像、文字、进度条或文字背景。 A layout element representing an image, player head, text, progress display, or text background.
anchor 是屏幕百分比;外层 x 正数向右,y 正数向上,并统一表示元素顶部。TTF 基线由字体指标自动换算。不写锚点时使用目标自身的原点。GUI 标题忽略锚点。 anchor is a screen percentage; positive outer x moves right and positive y moves up, and y consistently denotes the element's top edge. TTF baselines are derived from font metrics. Without an anchor, the target's origin is used. Inventory titles ignore anchors.
Parameters
相对锚点的水平像素偏移。 / Horizontal pixel offset from the anchor.
元素顶部相对锚点的垂直像素偏移,正数向上。 / Top-edge pixel offset from the anchor, positive upward.
引用 core/template/head 中的头像模板及可选目标覆盖。 / A player-head template reference and optional target override.
字体 ID;为空时使用布局默认字体。 / Font ID; falls back to the layout's default font.