You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
md"""**text density:** $(@bind density NumberField(0.1:0.01:10.0, default=0.5)) **min word spacing:** $(@bind spacing NumberField(0:100, default=2))"""
72
+
md"""**text density:** $(@bind density NumberField(0.1:0.01:10.0, default=0.5)) **min word spacing:** $(@bind spacing NumberField(-1:100, default=-1)) *-1 means auto*"""
73
73
74
74
# ╔═╡ f1b1e1f5-cfcb-4645-8eb6-93c9b5c0140e
75
-
md"""**average text size:** $(@bind avgfontsize NumberField(1:100, default=12)) *You can use it to manage the size of output image*"""
75
+
md"""**average font size:** $(@bind avgfontsize NumberField(1:100, default=12)) *You can use "average font size" or "mask size" to manage the output image size*
Copy file name to clipboardExpand all lines: src/wc-class.jl
+7-4Lines changed: 7 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ For more sophisticated text processing, please utilize the function [`processtex
41
41
* maxfontsize: The maximum font size in pixel.
42
42
* avgfontsize: The average font size in pixel, default is 12. It is used to control the size of the generated picture when `masksize` is not specified.
43
43
* density = 0.55 # default is 0.5
44
-
* spacing = 1 # minimum spacing between words, default is 2
44
+
* spacing = 1 # minimum spacing between words, default is :auto
45
45
46
46
### mask-related keyword arguments
47
47
* mask = loadmask("res/heart.jpg", 256, 256) # refer to the documentation of [`loadmask`](@ref)
0 commit comments