Word.Interfaces.FillFormatUpdateData interface
用于更新对象上的 FillFormat 数据的接口,用于 在 中使用 fillFormat.set({ ... })。
属性
| background |
返回一个 |
| foreground |
返回一个 |
| gradient |
指定渐变填充的角度。 值的有效范围为 0 到 359.9。 |
| is |
指定对象或应用于该对象的格式是否可见。 |
| rotate |
指定填充是否随形状一起旋转。 |
| texture |
指定用于平铺纹理填充的对齐方式(坐标网格的原点)。 |
| texture |
指定纹理填充的水平缩放因子。 |
| texture |
指定纹理与原点的水平偏移量(以磅为单位)。 |
| texture |
指定纹理的垂直偏移量。 |
| texture |
指定纹理是否平铺。 |
| texture |
将纹理填充的垂直缩放因子指定为介于 0.0 和 1.0 之间的值。 |
| transparency | 将形状的填充透明度指定为介于 0.0 (不透明) 和 1.0 (清除) 之间的值。 |
属性详细信息
backgroundColor
返回一个 ColorFormat 对象,该对象代表填充的背景色。
backgroundColor?: Word.Interfaces.ColorFormatUpdateData;
属性值
注解
foregroundColor
返回一个 ColorFormat 对象,该对象代表填充的前景色。
foregroundColor?: Word.Interfaces.ColorFormatUpdateData;
属性值
注解
gradientAngle
isVisible
rotateWithObject
textureAlignment
指定用于平铺纹理填充的对齐方式(坐标网格的原点)。
textureAlignment?: Word.TextureAlignment | "Mixed" | "TopLeft" | "Top" | "TopRight" | "Left" | "Center" | "Right" | "BottomLeft" | "Bottom" | "BottomRight";
属性值
Word.TextureAlignment | "Mixed" | "TopLeft" | "Top" | "TopRight" | "Left" | "Center" | "Right" | "BottomLeft" | "Bottom" | "BottomRight"
注解
textureHorizontalScale
textureOffsetX
textureOffsetY
textureTile
textureVerticalScale
将纹理填充的垂直缩放因子指定为介于 0.0 和 1.0 之间的值。
textureVerticalScale?: number;
属性值
number
注解
transparency
将形状的填充透明度指定为介于 0.0 (不透明) 和 1.0 (清除) 之间的值。
transparency?: number;
属性值
number