使用手册
-
学生
-
老师
-
编程
-
-
-
- 以 Unix 时间创建 DateTimeOffset
- 以不同单位创建 DateTimeOffset
- 以其他格式显示时间
- 以毫秒显示DateTimeOffset
- 使用当前时间创建DateTimeOffset
- 将 DateTimeOffset 与新的协调世界时偏移量合并
- 将 DateTimeOffset 变更成字串格式
- 将文字转换为 DateTimeOffset 格式
- 将间距加到dateTimeOffset
- 检查DateTimeOffset是否在正确的数据类型
- 检查两个DateTimeOffsets是否相同
- 计算两个DateTimeOffsets之间的间距
- 设定协调世界时偏移量
- 转换DateTimeOffset为字串
-
Print
多行文字排列
Layout设定多行排列
{"blocks":"CssContentAlignment.Stretch layout "}
这积木是用作排列多行文字都不同位置。
参数:
萤幕项目(布局)
情况:延伸(预设)/开始/结尾/置中/间隔/环绕空间/空间均匀
输出: N/A
示例代码:
{"blocks":"mainLayout mainScreen text1 text2 mainLayout 0 mainScreen 0 Main mainLayout CssContentAlignment.SpaceEvenly mainLayout FlexWrap.Wrap mainLayout FlexShorthand.Auto mainLayout mainLayout CssLengthUnit.PX 100 mainLayout 255 165 0 text1 0 This is text 1. Longest word: pneumonoultramicroscopicsilicovolcanoconiosis text1 148 0 211 text1 255 255 255 mainLayout text1 text2 0 This is text 2 text2 0 71 171 text2 255 255 255 mainLayout text2 "}
当设定为「延伸」时的输出结果:
当设定为「开始」时的输出结果:
当设定为「结尾」时的输出结果:
当设定为「置中」时的输出结果:
当设定为「间隔」时的输出结果:
当设定为「环绕空间」时的输出结果:
当设定为「空间均匀」时的输出结果: