# Set Background Offset Of Text Tag
Grammar — Set the background offset of textTag to (horizontal, vertical), in percent of screen size
Flags —Native
|Action
Sets the offset of the background of the text tag.
# Arguments
int
[ preset::TextTag ] — Text Tagfixed
— Horizontalfixed
— Vertical
Returns — void
native void TextTagSetBackgroundOffset(
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
// L2876
TextTagSetBackgroundOffset(TextTagLastCreated(), 0.0, 0.25)
// L2876
TextTagSetBackgroundOffset(TextTagLastCreated(), 0.0, 0.25)