PowerPoint.Interfaces.BorderData interface
一个接口,用于描述通过调用 border.toJSON()
返回的数据。
属性
color | 表示十六进制格式 #RRGGBB (行颜色,例如“FFA500”) 或命名的 HTML 颜色值 (例如“orange”) 。 |
dash |
表示线条的短划线样式。 |
transparency | 将行的透明度百分比指定为从 0.0 (不透明) 到 1.0 (清除) 的值。 |
weight | 表示线条的粗细(以磅为单位)。 |
属性详细信息
color
注意
此 API 以预览状态提供给开发者,可能根据我们收到的反馈更改。 请勿在生产环境中使用此 API。
表示十六进制格式 #RRGGBB (行颜色,例如“FFA500”) 或命名的 HTML 颜色值 (例如“orange”) 。
color?: string | undefined;
属性值
string | undefined
注解
dashStyle
注意
此 API 以预览状态提供给开发者,可能根据我们收到的反馈更改。 请勿在生产环境中使用此 API。
表示线条的短划线样式。
dashStyle?: PowerPoint.ShapeLineDashStyle | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot" | undefined;
属性值
PowerPoint.ShapeLineDashStyle | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot" | undefined
注解
transparency
注意
此 API 以预览状态提供给开发者,可能根据我们收到的反馈更改。 请勿在生产环境中使用此 API。
将行的透明度百分比指定为从 0.0 (不透明) 到 1.0 (清除) 的值。
transparency?: number | undefined;
属性值
number | undefined
注解
weight
注意
此 API 以预览状态提供给开发者,可能根据我们收到的反馈更改。 请勿在生产环境中使用此 API。
表示线条的粗细(以磅为单位)。
weight?: number | undefined;
属性值
number | undefined