# Set Background Border Size Of Text Tag
Grammar — Set the background border size of textTag to (horizontal, vertical), in percent of screen size
Flags —Native
|Action
Sets the size of the background of the text tag.
# Arguments
int
[ preset::TextTag ] — Text Tagfixed
— Horizontalfixed
— Vertical
Returns — void
native void TextTagSetBackgroundBorderSize(
int inTag,
fixed inX,
fixed inY,
);
# Related
Category: Text Tag / Formatting
- [F] —
void
— Set Alignment Of Text Tag — ( TextTagSetAlignment ) - [F] —
void
— Set Text Alignment Of Text Tag — ( TextTagSetTextAlignment ) - [F] —
void
— Set Background Border Size Of Text Tag — ( TextTagSetBackgroundBorderSize ) - [F] —
void
— Set Background Image Of Text Tag — ( TextTagSetBackgroundImage ) - [F] —
void
— Set Background Offset Of Text Tag — ( TextTagSetBackgroundOffset ) - [F] —
void
— Set Edge Image Of Text Tag — ( TextTagSetEdgeImage ) - [F] —
void
— Set Color Of Text Tag — ( TextTagSetColor ) - [F] —
void
— Set Enforce Fog Of War Of Text Tag — ( TextTagFogofWar ) - [F] —
void
— Set Visibility Type Of Text Tag — ( TextTagSetFogVisibility ) - [F] —
void
— Set Faded Transparency Of Text Tag — ( TextTagSetFadedTransparency ) - [F] —
void
— Set Font Size Of Text Tag — ( TextTagSetFontSize ) - [F] —
void
— Set Maximum Size Of Text Tag — ( TextTagSetMaxSize ) - [F] —
void
— Show/Hide Background For Text Tag — ( TextTagShowBackground ) - [F] —
void
— Show/Hide Text Shadow For Text Tag — ( TextTagSetTextShadow )
# Examples
# campaigns/liberty.sc2campaign
// L406
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 2.0, 2.0)
// L370
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 2.0, 2.0)
// L416
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 2.0, 2.0)
// L1102
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L1293
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L669
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L675
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L681
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L687
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L2874
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 0.8, 0.0)
// L9559
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 0.0, 0.0)
// L30080
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 0.0, 0.0)
// L1102
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L1293
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L669
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L675
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L681
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L687
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 1.0, 1.0)
// L2874
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 0.8, 0.0)
// L9559
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 0.0, 0.0)
// L30080
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 0.0, 0.0)
// L406
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 2.0, 2.0)
// L370
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 2.0, 2.0)
// L416
TextTagSetBackgroundBorderSize(TextTagLastCreated(), 2.0, 2.0)
# campaigns/libertystory.sc2campaign
// L1563
TextTagSetBackgroundBorderSize(libCamp_gv__CB_Current_ChatBubble[lp_playerIndex], 1.0, 1.0)
// L11900
TextTagSetBackgroundBorderSize(lv_p_TextTag, 1.0, 1.0)