Plugin : BBcode Text
Author:Rex.Rainbow
- Displays text with bbcode protocol.
Download
Properties
Text
Initial visibility
- Choose whether the object is visible when the layout starts.
- Options : ["Visible","Invisible"]
Font
- Choose the font to display. This applies to all instances of this type.
Color
Horizontal alignment
- Horizontal alignment of the text.
- Options : ["Left","Center","Right"]
Vertical alignment
- Vertical alignment of the text.
- Options : ["Top","Center","Bottom"]
Hotspot
- Choose the location of the hot spot in the object.
- Options : ["Top-left","Top","Top-right","Left","Center","Right","Bottom-left","Bottom","Bottom-right"]
Wrapping
- Wrap text by space-separated words or nearest character.
- Options : ["Word","Character"]
Line height
- Offset to the default line height, in pixels. 0 is default line height.
Baseline
- Baseline of text alignment.
- Options : ["Alphabetic","Top"]
Shift down
- Shift the text down for alphabetic baseline, in pixels.
Force render
- Force rendering immediately after any property setting.
Lock canvas size
- Lock canvas size to initial size.
Stroke
Stroke line width
- Line width of stroke, in pixels.
Stroke line join
- Baseline of text alignment.
- Options : ["Miter","Round","Bevel"]
Underline
Underline thickness
- Thickness of underline, in pixels.
Underline offset Y
- Offset Y of underline, in pixels.
Shadow
Shadow offset X
- Offset X of shadow, in pixels.
Shadow offset Y
- Offset Y of shadow, in pixels.
Shadow blur
- Blur of shadow, in pixels.
Shadow color
Background
Background color
- Background color, Set "" to be transparent.
Actions
Appearance
Action:Set font face
- Set the font face used to display text.
- Font face ( string ) : The new font face name to set.
- Style ( Combo ) : Choose the style for the given font face.
- Options : ["normal","bold","italic","bold and italic"]
Action:Set font size
- Set the font size.
- Size (pt) ( number ) : The new font size.
Action:Set font color
- Set the font color.
- Color ( number or string ) : The new font color, in the form rgb(r, g, b).
Action:Set web font
- Set the font face from an online web font.
- Family name ( string ) : Enter the font family name.
- CSS URL ( string ) : Enter the web URL to the CSS file referencing the web font.
Action:Set blend mode
- Set the background blend mode for this object.
- Blend mode ( Combo ) : Choose the new blend mode for this object.
- Options : ["Normal","Additive","XOR","Copy","Destination over","Source in","Destination in","Source out","Destination out","Source atop","Destination atop"]
Action:Set font face only
- Set the font face.
- Font face ( string ) : The new font face name to set.
Background
Action:Set background color
- Set background color.
- Color ( number or string ) : The new background color, in the form rgb(r, g, b). Set "" to be transparent.
Canvas
Action:Lock canvas size
- Lock canvas size.
- Width ( number ) : Canvas width in pixels.
- Height ( number ) : Canvas height in pixels.
Action:Unlock canvas size
Image bank
Action:Add image
- Add image from sprite or canvas.
- Key ( string ) : Index of this image.
- Image ( object ) : Current frame of Sprite, or canvas object.
- Y offset ( number ) : Y offset of this image.
Action:Remove image
- Remove image by key.
- Key ( string ) : Index of this image.
Action:Remove all
Properties
Action:Set line height
- Set line height.
- Line height ( number ) : Offset to the default line height, in pixels. 0 is default line height
Action:Set horizontal alignment
- Set horizontal alignment.
- Horizontal alignment ( Combo ) : Horizontal alignment of the text
- Options : ["Left","Center","Right"]
Action:Set horizontal alignment (#)
- Set horizontal alignment.
- Horizontal alignment ( number ) : Horizontal alignment. 0=Left, 1=Center. 2=Right
Action:Set Vertical alignment
- Set vertical alignment.
- Vertical alignment ( Combo ) : Horizontal alignment of the text
- Options : ["Top","Center","Bottom"]
Action:Set Vertical alignment (#)
- Set vertical alignment.
- Vertical alignment ( number ) : Vertical alignment. 0=Top, 1=Center. 2=Bottom
Action:Set wrapping
- Set wrapping.
- Wrapping ( Combo ) : Wrap text by space-separated words or nearest character
- Options : ["Word","Character"]
Action:Set wrapping (#)
- Set wrapping.
- Wrapping ( number ) : Wrap text. 0=Word, 1=Character
Shadow
Action:Set shadow
- Set shadow.
- Offset X ( number ) : Offset X of shadow, in pixels.
- Offset Y ( number ) : Offset Y of shadow, in pixels.
- Blur ( number ) : Blur of shadow, in pixels.
- Color ( number or string ) : The new shadow color, in the form rgb(r, g, b).
Stroke
Action:Set line width
- Set line width of stroke.
- line width ( number ) : Line width in pixels.
Action:Set line join
- Set line join of stroke.
- Line join ( Combo ) : Line join of the stroke
- Options : ["Miter","Round","Bevel"]
Text
Action:Set text
- Set the text of this object.
- Text ( number or string ) : Enter the text to set the object's content to.
Action:Append text
- Add text to the end of the existing text.
- Text ( number or string ) : Enter the text to append to the object's content.
Underline
Action:Set thickness
- Set thickness of underline.
- Thickness ( number ) : Thickness in pixels.
Action:Set offset Y
- Set offset Y of underline.
- Offset ( number ) : Offset Y in pixels.
Expressions
Appearance
Expression:FaceName
- Get the current font face name.
Expression:FaceSize
- Get the current font face size (pt).
Class
Expression:LastClassPropValue
- Get property value of last class. Add 2nd parameter for default value if this property had not found.
- Name ( string ) : Property name.
Text
Expression:Text
- Get the object's text. Add 2nd/3rd parameter for start/end index
Expression:TextWidth
- Get the width extent of the text in the object in pixels.
Expression:TextHeight
- Get the height extent of the text in the object in pixels.
Expression:RawText
- Get the object's raw text.
Conditions
Text
Condition:Compare text
- Compare the text in this object.
- Text to compare ( string ) : Enter the text to compare with the object's content.
- Case sensitivity ( Combo ) : Choose whether capital letters count as different to lowercase. If ignoring case, "ABC" matches "abc".
- Options : ["Ignore case","Case sensitive"]