ILineFormat
概述
ILineFormat 是 Aspose.Slides FOSS 中用于 Java 的接口。继承自:ILineParamSource。
表示一行的格式。
此接口提供 30 个方法,用于在 Java 程序中处理 ILineFormat 对象。可用的方法包括:getAlignment、getBeginArrowheadLength、getBeginArrowheadStyle、getBeginArrowheadWidth、getCapStyle、getCustomDashPattern、getDashStyle、getEndArrowheadLength、getEndArrowheadStyle、getEndArrowheadWidth、getFillFormat、getJoinStyle,以及另外 18 个方法。安装 Aspose.Slides FOSS for Java 包后,所有公共成员对任何 Java 应用程序均可访问。属性:alignment、beginArrowheadLength、beginArrowheadStyle、beginArrowheadWidth、capStyle、customDashPattern,以及另外 10 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
formatNotDefined | boolean | 读取 | 如果线条格式未定义(即刚创建时的默认值),则返回 {@code true}。 |
fillFormat | ILineFillFormat | 读取 | 返回线条的填充格式。 |
width | double | 读取 | 返回线的宽度(单位为点)。 |
dashStyle | LineDashStyle | 读取 | 返回线的虚线样式。 |
customDashPattern | List<Double> | 读取 | 返回自定义的虚线模式,形式为 [dash, space, …] 的成对数组。 |
capStyle | LineCapStyle | 读取 | 返回线帽样式。 |
style | LineStyle | 读取 | 返回线样式。 |
alignment | LineAlignment | 读取 | 返回线对齐方式。 |
joinStyle | LineJoinStyle | 读取 | 返回线条的连接样式。 |
miterLimit | double | 读取 | 返回线条的斜接限制。 |
beginArrowheadStyle | LineArrowheadStyle | 读取 | 返回行首的箭头样式。 |
endArrowheadStyle | LineArrowheadStyle | 读取 | 返回行尾的箭头样式。 |
beginArrowheadWidth | LineArrowheadWidth | 读取 | 返回行首的箭头宽度。 |
endArrowheadWidth | LineArrowheadWidth | 读取 | 返回线段末端的箭头宽度。 |
beginArrowheadLength | LineArrowheadLength | 读取 | 返回线段起始处的箭头长度。 |
endArrowheadLength | LineArrowheadLength | 读取 | 返回线段末端的箭头长度。 |
方法
| 签名 | 描述 |
|---|---|
isFormatNotDefined() → boolean | 如果行格式未定义(刚创建时的默认值),则返回 {@code true}。 |
getFillFormat() → ILineFillFormat | 返回线条的填充格式。 |
getWidth() → double | 返回线条的宽度(单位为点)。 |
setWidth(value: double) | 设置线的宽度(以点为单位)。 |
getDashStyle() → LineDashStyle | 返回线条的虚线样式。 |
setDashStyle(value: LineDashStyle) | 设置线条的虚线样式。 |
getCustomDashPattern() → List<Double> | 返回自定义破折号模式,形式为 [dash, space, …] 的成对组合。 |
setCustomDashPattern(value: List<Double>) | 将自定义虚线模式设置为 [dash, space, …] 的成对值。 |
getCapStyle() → LineCapStyle | 返回线帽样式。 |
setCapStyle(value: LineCapStyle) | 设置线帽样式。 |
getStyle() → LineStyle | 返回线条样式。 |
setStyle(value: LineStyle) | 设置线条样式。 |
getAlignment() → LineAlignment | 返回行对齐方式。 |
setAlignment(value: LineAlignment) | 设置行对齐方式。 |
getJoinStyle() → LineJoinStyle | 返回行的连接样式。 |
setJoinStyle(value: LineJoinStyle) | 设置线条的连接样式。 |
getMiterLimit() → double | 返回线条的斜接限制值。 |
setMiterLimit(value: double) | 设置线的斜接限制。 |
getBeginArrowheadStyle() → LineArrowheadStyle | 返回线条起始处的箭头样式。 |
setBeginArrowheadStyle(value: LineArrowheadStyle) | 设置线段起始处的箭头样式。 |
getEndArrowheadStyle() → LineArrowheadStyle | 返回线条末端的箭头样式。 |
setEndArrowheadStyle(value: LineArrowheadStyle) | 设置线条末端的箭头样式。 |
getBeginArrowheadWidth() → LineArrowheadWidth | 返回线段起始处的箭头宽度。 |
setBeginArrowheadWidth(value: LineArrowheadWidth) | 设置线条起点的箭头宽度。 |
getEndArrowheadWidth() → LineArrowheadWidth | 返回线段末端的箭头宽度。 |
setEndArrowheadWidth(value: LineArrowheadWidth) | 设置线条末端的箭头宽度。 |
getBeginArrowheadLength() → LineArrowheadLength | 返回线段起始处的箭头长度。 |
setBeginArrowheadLength(value: LineArrowheadLength) | 设置线条起点的箭头长度。 |
getEndArrowheadLength() → LineArrowheadLength | 返回线段末端的箭头长度。 |
setEndArrowheadLength(value: LineArrowheadLength) | 设置线条末端的箭头长度。 |