ImageSegment
此内容尚不支持你的语言。
Defined in: ui/text/rich-text-parser.ts:16
core-ui.ts
The stable UI surface promoted into the top-level esengine
namespace (text, UINode box visuals, interaction, layout, theme).
This is the curated public UI API. The complete UI module surface — which
also includes low-level text/atlas internals and engine-internal composition
glue (e.g. EntityStateMap, ensureComponent) — lives in
./ui and is imported module-directly by the SDK code that needs it. Those
internals are intentionally NOT re-exported here, so the public esengine
namespace stays a stable, intentional surface.
Re-exported wholesale by core.ts.
Properties
Section titled “Properties”height
Section titled “height”height:
number
Defined in: ui/text/rich-text-parser.ts:20
offsetX
Section titled “offsetX”offsetX:
number
Defined in: ui/text/rich-text-parser.ts:22
offsetY
Section titled “offsetY”offsetY:
number
Defined in: ui/text/rich-text-parser.ts:23
scale:
number
Defined in: ui/text/rich-text-parser.ts:24
src:
string
Defined in: ui/text/rich-text-parser.ts:18
tint:
Color|null
Defined in: ui/text/rich-text-parser.ts:25
type:
"image"
Defined in: ui/text/rich-text-parser.ts:17
valign
Section titled “valign”valign:
ImageValign
Defined in: ui/text/rich-text-parser.ts:21
width:
number
Defined in: ui/text/rich-text-parser.ts:19