We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e37fd41 commit c744b32Copy full SHA for c744b32
skparagraph-example.py
@@ -40,7 +40,7 @@
40
41
style_underline = style.cloneForPlaceholder()
42
style_underline.setDecoration(textlayout.TextDecoration.kUnderline)
43
- style_underline.setDecorationMode(textlayout.TextDecorationMode.kGaps) # Rust seems to default to kThrough
+ style_underline.setDecorationMode(textlayout.TextDecorationMode.kGaps) # Rust seems to default to kGaps, while kThrough is the upstream default.
44
style_underline.setDecorationColor(ColorBLACK)
45
style_underline.setDecorationThicknessMultiplier(1.5)
46
builder.pushStyle(style_underline)
0 commit comments