Enum ParagraphAlignment
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
段落对齐方式
段落的文本对齐方式。
如需调用枚举,您可以调用其父类、名称和属性。例如
SlidesApp.ParagraphAlignment.START
。
属性
属性 | 类型 | 说明 |
UNSUPPORTED | Enum | 不支持的段落对齐方式。 |
START | Enum | 段落会与线条的起点对齐。对于从左到右的文本,对齐方式为左对齐;对于其他文本,对齐方式为右对齐。 |
CENTER | Enum | 段落居中。 |
END | Enum | 段落会对齐到行尾。对于从左到右的文本,对齐方式为右对齐;对于其他文本,对齐方式为左对齐。 |
JUSTIFIED | Enum | 段落采用了右对齐方式。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[],["Paragraph alignment types are defined as an enum, accessible via `SlidesApp.ParagraphAlignment`. The available properties are: `UNSUPPORTED` for unsupported alignments, `START` aligning to the beginning of the line, `CENTER` for centering, `END` aligning to the end of the line, and `JUSTIFIED` for justified alignment. `START` and `END` are context-dependent based on text directionality. Each property is an enum type.\n"],null,[]]