UI4pxNumber
概述
UI4pxNumber 组件使用4像素高的字体在LED矩阵上显示数字。它非常适合以紧凑格式显示数值、分数、计时器和其他定量信息。
UI4pxNumber 组件实现位于 Applications/Python/PikaPython/MatrixOS_UI4pxNumber.py,类型提示位于 Applications/Python/PikaPython/_MatrixOS_UI4pxNumber.pyi。
构造函数
MatrixOS.UI4pxNumber()
class UI4pxNumber(UIComponent):
def __init__(self) -> None
创建一个新的4像素数字显示组件。
示例:
number_display = UI4pxNumber()