Skip to content

NativeTemplateTextStyle

The NativeTemplateTextStyle class configures the foreground and background styling details of text fields inside native overlay ads.

Properties

background_color / BackgroundColor

The background color behind the text block.

var background_color: Color # Or null
public Color? BackgroundColor { get; set; }

text_color / TextColor

The text color.

var text_color: Color # Or null
public Color? TextColor { get; set; }

font_size / FontSize

The size of the font in points.

var font_size: float
public float FontSize { get; set; }

style / Style

The font weight style of the text elements.

var style: NativeTemplateFontStyle.Values
public NativeTemplateFontStyle Style { get; set; }