行の高さ
行の高さ機能を操作します。
uniweb.feature.textLineHeightEnable()
行の高さ機能を有効にします。
textLineHeightEnable(type?: 1 | 2 | 3): void;
uniweb.feature.textLineHeightDisable()
行の高さ機能を無効にします。
textLineHeightDisable(): void;
uniweb.feature.textLineHeightToggle()
行の高さ機能の有効/無効を切り替えます。
textLineHeightToggle(type?: 1 | 2 | 3): void;
type
type | 機能名 |
---|---|
1 (default) | 行の高さ (1.5×) |
2 | 行の高さ (1.7×) |
3 | 行の高さ (2×) |