-
Notifications
You must be signed in to change notification settings - Fork 5
Text
Text String
Add String to current canvas.
Image = Text I am A StringAlignAntiAliasBackgroundColorCanvasCaseClipStringHClipStringLineClipStringWColorFaceLineSpacingOffsetSizeSkewStrokeColorStrokeWidthStyleTextKerningWeightWordSpacing
Default: LeftTop
Parameter:
Align Alignment
Horizontal and vertical alignment of the string within the meter. Valid values are:
-
LeftTop(orLeft), -
LeftCenter, -
LeftBottom, -
RightTop(orRight), -
RightCenter, -
RightBottom, -
CenterTop(orCenter), -
CenterCenter, CenterBottom
Default: 1
Set to 0 to turn off edge smoothing.
Default: 0,0,0,0
Parameter:
BackgroundColor ColorValue
Text undercolor box. Check out Color formats.
Parameters:
Canvas Width, Height
Define text region. Any pixel exceeds this region is cutoff.
Image = Text Example String 1 | Canvas 800,400`
Image2 = Text Example String 2 | Canvas #CurrentConfigWidth#,([HeaderHeight] * 2)Default: None
Parameter:
Case CaseType
Valid CaseType value:
NoneUpperLowerProper
Default: 0
Parameter:
ClipStringH Height
Sets a maximum height for text. String that overflows this height is clipped and an ellipsis is added at the end.
Note: No matter how small ClipStringH value is, text always maintain at least 1 line.
Example:
Image = Text The Triumph of Cleopatra is an oil painting by English artist William Etty. | ClipStringW 500 | Face Bahnschrift | Size 40
Image2 = Text The Triumph of Cleopatra is an oil painting by English artist William Etty. | ClipStringW 500 | ClipStringH 150 | Face Bahnschrift | Size 40 | Offset 550,0Default: 0
Parameter:
ClipStringLine Lines
Sets a maximum line for text.
This modifiers works the same as ClipStringH. It clips text quickly basing on number of lines, so you do not have to calculate total lines height for ClipStringH.
Note: If ClipStringH and ClipStringLine are both set, ClipStringH clips the text first then ClipStringLine are applied.
Example:
Image = Text The Triumph of Cleopatra is an oil painting by English artist William Etty. | ClipStringW 500 | Face Bahnschrift | Size 40
Image2 = Text The Triumph of Cleopatra is an oil painting by English artist William Etty. | ClipStringW 500 | ClipStringLine 3 | Face Bahnschrift | Size 40 | Offset 550,0
Image3 = Text The Triumph of Cleopatra is an oil painting by English artist William Etty. | ClipStringW 500 | ClipStringLine 2 | Face Bahnschrift | Size 40 | Offset 1100,0Default: 0
Parameter:
ClipStringW Width
Sets a maximum width for text. String that overflows this width is put in new line.
Example:
Image = Text The Triumph of Cleopatra is an oil painting by English artist William Etty. | Face Bahnschrift | Size 40
Image2 = Text The Triumph of Cleopatra is an oil painting by English artist William Etty. | ClipStringW 500 | Face Bahnschrift | Size 40 | Offset 0,100Default: 255,255,255
Parameter:
Color ColorValue
Text color. Check out Color formats.
Color 180,0,50
Color 65,255,30,(255 * #Time# / 60)
Color 5050ff
Default: Arial
Parameter:
Face FontName/@FontFileName/FontPath
Use a font for your string. It can be:
- Installed font family name.
Image = Text Me Me | Face Comic Sans Ms | ...- Font file in YourSkinFolder\@Resources\Fonts folder.
Image = Text Big | Face @Avantgarde.ttf | ...- Direct link to font file. Not recommend for publishing skin.
Image = Text Boy | Face F:\FontCollection\Elegant Lux Mager.otf | ... Parameter:
LineSpacing Value
Text inter-line spacing.
Example:
Image = Text Entoloma#CRLF#Sinuatum | Face Bahnschrift | Size 40
Image2 = Text Entoloma#CRLF#Sinuatum | LineSpacing 30 | Face Bahnschrift | Size 40 | Offset 400,0
Image3 = Text Entoloma#CRLF#Sinuatum | LineSpacing -30 | Face Bahnschrift | Size 40 | Offset 800,0Default: 0,0
Parameters:
Offset OffsetX, OffsetY
Change text position.
Default: 30
Parameter:
Size Value
Text size.
Image = Text String 1 | Size 80
Image2 = Text String 2 | Size (20*#Scale#) Default: 0,0
Parameter:
Skew SkewX, SkewY
Skew to use in X or Y axis when annotating with text or drawing.
Default: 0,0,0
Parameter:
StrokeColor ColorValue
Define stroke color. Check out Color formats.
Default: 0
Parameter:
StrokeWidth Width
Define stroke width.
Default: Normal
Choose font style. Valid values:
NormalItalicOlique
Eg: Style Italic
Parameter:
TextKerning Value
Text inter-character kerning.
Example:
Image = Text Xeromphalina setulipes | Face Bahnschrift | Size 40
Image2 = Text Xeromphalina setulipes | TextKerning 5 | Face Bahnschrift | Size 40 | Offset 0,100
Image3 = Text Xeromphalina setulipes | TextKerning -5 | Face Bahnschrift | Size 40 | Offset 0,200Default: 400
Choose font weight, only available for installed fonts. Valid values:
-
100- Thin (Hairline) -
200- Extra Light (Ultra Light) -
300- Light -
400- Regular (Normal) -
500- Medium -
600- Semi Bold (Demi Bold) -
700- Bold -
800- Extra Bold (Ultra Bold) -
900- Black (Heavy) -
950- Extra Black (Ultra Black)
Eg: Weight 600
Parameter:
WordSpacing Value
Text inter-word spacing.
Example:
Image = Text The Beagle is a breed of small hound that is similar in appearance | Face Bahnschrift | Size 40
Image2 = Text The Beagle is a breed of small hound that is similar in appearance | WordSpacing 20 | Face Bahnschrift | Size 40 | Offset 0,100
Image3 = Text The Beagle is a breed of small hound that is similar in appearance | WordSpacing -20 | Face Bahnschrift | Size 40 | Offset 0,200




