Cocos Creator
LabelOutline Component Reference
The LabelOutline component will add a outline effect to the Label component on the node, which can only be used for system fonts or TTF fonts.
Click the Add Component button at the bottom of the Properties panel and select LabelOutline from Renderer Component to add the LabelOutline component to the node.
The LabelOutline component does not take effect when the Cache Mode property of the Label component is set to CHAR, except for the native platform, but the native platform also takes effect only when using TTF fonts.
Please refer to the LabelOutline API for details.
LabelOutline Properties
property | Function Explanation |
---|---|
Color | The outline color |
Width | The outline width |