内置 elements 总表
图片/背景
FizzyBackgroundElement:在 pad 内平铺BgType贴图MapBackgroundElement:原版地图风格 9-slice 背景
槽位/图标/文本
SlotElement:按 pad 区域绘制槽位网格IconElement:按区域适配绘制纹理- 常见调用:
IconElement.builder(tex).stretchToFit().allowUpscale().build()
- 常见调用:
FizzyComponentElement:富文本多行渲染- 常见入口:
builder()/singleLine/multiLine
- 常见入口:
FizzyTooltipElement:自定义 tooltip 渲染(TOOLTIP 层)- 常见入口:
builder()、maxWidthPx、tooltipColors、positioner
- 常见入口:
按钮
FizzyButtonElement:Fizzy 风格按钮(文+图)ColoredButtonElement:颜色主题按钮VanillaLikeButtonElement:类原版按钮主题WidgetButtonElement:箭头/控件型按钮IconButtonElement:基于CustomIconButton的图标按钮TransparentButtonElement:透明底 icon 按钮
below 区按钮
LeftButtonBelow:左侧 below 按钮CenterButtonBelow:居中 below 按钮RightButtonBelow:右侧 below 按钮DoubleButtonBelow:左右双按钮
可视化/容器/菜单
ProgressElement:BossBar 风格进度条SimpleChartsElement:网格 cell 容器(cell 级裁剪渲染)SimpleDraggableElement:可滚动内容容器(slot/pixel pad)ContextMenuElement:右键菜单/子菜单/分隔线/自定义项
交互阻挡
SlotBlockerElement:玻璃动画阻挡层,禁用下层 widgetTransparentBlockerElement:透明阻挡层
Last updated on