使用手册
-
学生
-
老师
-
编程
-
-
-
- 以 Unix 时间创建 DateTimeOffset
- 以不同单位创建 DateTimeOffset
- 以其他格式显示时间
- 以毫秒显示DateTimeOffset
- 使用当前时间创建DateTimeOffset
- 将 DateTimeOffset 与新的协调世界时偏移量合并
- 将 DateTimeOffset 变更成字串格式
- 将文字转换为 DateTimeOffset 格式
- 将间距加到dateTimeOffset
- 检查DateTimeOffset是否在正确的数据类型
- 检查两个DateTimeOffsets是否相同
- 计算两个DateTimeOffsets之间的间距
- 设定协调世界时偏移量
- 转换DateTimeOffset为字串
-
Print
文字主轴排列属性
Layout设定主轴排列 延伸
{"blocks":"CssJustification.Stretch layout "}
这积木是用作设定布局内容垂直排列。要显示它的作用,必须使用「设定弹性速记增强和缩小」积木。
参数:
- 萤幕项目(布局)
- 情况:延伸/置中/间隔/环绕空间/空间均匀
- 输出: N/A
示例代码:
{"blocks":"mainLayout mainScreen text1 text2 mainLayout 0 mainScreen 0 Main mainLayout CssJustification.Stretch mainLayout FlexShorthand.Auto mainLayout mainLayout 255 165 0 text1 0 This is text 1 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 "}
当「mainLayout」被设为「延伸」时的输出结果:
当「mainLayout」被设为「置中」时的输出结果:
当「mainLayout」被设为「间隔」时的输出结果:
「mainLayout」被设为「环绕空间」时的输出结果:
当「mainLayout」被设为「空间均匀」时的输出结果: