使用手册
-
学生
-
老师
-
编程
-
-
-
- 以 Unix 时间创建 DateTimeOffset
- 以不同单位创建 DateTimeOffset
- 以其他格式显示时间
- 以毫秒显示DateTimeOffset
- 使用当前时间创建DateTimeOffset
- 将 DateTimeOffset 与新的协调世界时偏移量合并
- 将 DateTimeOffset 变更成字串格式
- 将文字转换为 DateTimeOffset 格式
- 将间距加到dateTimeOffset
- 检查DateTimeOffset是否在正确的数据类型
- 检查两个DateTimeOffsets是否相同
- 计算两个DateTimeOffsets之间的间距
- 设定协调世界时偏移量
- 转换DateTimeOffset为字串
-
Print
捕捉图像
Camera捕捉图像
{"blocks":"camera "}
这积木是用作捕捉摄影机的画面。
参数:萤幕项目(摄影机)
输出:萤幕项目
示例代码:
在按下按钮前,程式会显示摄影机画面。你能看见画面正在移动。
{"blocks":"button cameraLayout captureImage "}
{"blocks":"mainLayout mainScreen cameraLayout cameraControl getCamera deviceId text button captureImage mainLayout 0 mainScreen 0 Main mainLayout TRUE cameraLayout 0 cameraControl 0 getCamera 0 7e2b0995f8a6d9df2958ed69edbb3757cfd0680da8b2fd6a0bcbb8b54987bb9d deviceId 0 getCamera text 0 button 0 Capture Image cameraControl TRUE cameraLayout cameraControl text deviceId cameraLayout text cameraLayout getCamera cameraLayout button mainLayout cameraLayout captureImage 0 getCamera button cameraLayout captureImage "}
输出结果:
在按下按钮后,程式会显示捕捉到的图像。
输出结果: