unify Shading; breaking change: Paragraph/Run shading option key type changed to val, and shadow alias removed

This commit is contained in:
Tom Hunkapiller
2021-05-23 04:25:07 +03:00
parent fcc393aca2
commit 496fcb55fa
22 changed files with 70 additions and 162 deletions

View File

@ -21,7 +21,7 @@ const doc = new Document({
name: "Garamond",
},
shading: {
type: ShadingType.REVERSE_DIAGONAL_STRIPE,
val: ShadingType.REVERSE_DIAGONAL_STRIPE,
color: "00FFFF",
fill: "FF0000",
},
@ -30,7 +30,7 @@ const doc = new Document({
}),
new Paragraph({
shading: {
type: ShadingType.DIAGONAL_CROSS,
val: ShadingType.DIAGONAL_CROSS,
color: "00FFFF",
fill: "FF0000",
},