跳到正文
QMT

ContextInfo.draw_text

在图形上显示数字 调用方法: ContextInfo.draw_text(condition, position, text)

原型

ContextInfo.draw_text(condition, position, text)

在图形上显示数字   调用方法: ContextInfo.draw_text(condition, position, text)

参数

参数名 类型 说明 提示
condition bool 条件
Position number 文字显示的位置
text string 文字

返回值

无

示例

def init(ContextInfo):
    ContextInfo.draw_text(1, 10, '文字')

官方来源

QMT 官方文档:在图形上显示文字。网页核对日期:2026-10-11。

本页目录