(style: FontStyleType)
| 78 | } |
| 79 | |
| 80 | public withFontStyle(style: FontStyleType): Font { |
| 81 | return new Font(this.fontFamily, this.fontSize, style, this.fontWeight, this.fontScale, this.fontVariationSettings); |
| 82 | } |
| 83 | |
| 84 | public withFontWeight(weight: FontWeightType): Font { |
| 85 | return new Font(this.fontFamily, this.fontSize, this.fontStyle, weight, this.fontScale, this.fontVariationSettings); |