PowerPoint.Interfaces.ShapeLineFormatData interface
一个描述通过调用 shapeLineFormat.toJSON()返回的数据的接口。
属性
| color | 以 HTML 颜色格式表示线条颜色,形式 #RRGGBB (例如“FFA500”) 或命名 HTML 颜色 (例如“orange”) 。 |
| dash |
表示线条的虚线样式。 当线条不可见或存在不一致的虚线样式时,返回 null。 有关详细信息,请参阅 PowerPoint.ShapeLineDashStyle 。 |
| style | 表示形状的线条样式。 当线条不可见或样式不一致时,返回 null。 有关详细信息,请参阅 PowerPoint.ShapeLineStyle 。 |
| transparency | 指定线条的透明度百分比,其值范围为 0.0 (不透明) 到 1.0 (透明) 。 当形状的透明度不一致时,返回 null。 |
| visible | 指定形状元素的线条格式是否可见。 当形状具有不一致的可见性时返回 |
| weight | 表示线条的粗细(以磅为单位)。 在线条不可见或线条粗细不一致时返回 |
属性详细信息
color
以 HTML 颜色格式表示线条颜色,形式 #RRGGBB (例如“FFA500”) 或命名 HTML 颜色 (例如“orange”) 。
color?: string;
属性值
string
注解
dashStyle
表示线条的虚线样式。 当线条不可见或存在不一致的虚线样式时,返回 null。 有关详细信息,请参阅 PowerPoint.ShapeLineDashStyle 。
dashStyle?: PowerPoint.ShapeLineDashStyle | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot";
属性值
PowerPoint.ShapeLineDashStyle | "Dash" | "DashDot" | "DashDotDot" | "LongDash" | "LongDashDot" | "RoundDot" | "Solid" | "SquareDot" | "LongDashDotDot" | "SystemDash" | "SystemDot" | "SystemDashDot"
注解
style
表示形状的线条样式。 当线条不可见或样式不一致时,返回 null。 有关详细信息,请参阅 PowerPoint.ShapeLineStyle 。
style?: PowerPoint.ShapeLineStyle | "Single" | "ThickBetweenThin" | "ThickThin" | "ThinThick" | "ThinThin";
属性值
PowerPoint.ShapeLineStyle | "Single" | "ThickBetweenThin" | "ThickThin" | "ThinThick" | "ThinThin"
注解
transparency
指定线条的透明度百分比,其值范围为 0.0 (不透明) 到 1.0 (透明) 。 当形状的透明度不一致时,返回 null。
transparency?: number;
属性值
number