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