TextStyle(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Properties that determine how the title and content are styled
Attributes |
|
---|---|
Name | Description |
background_color |
str
The background color as a hex string. "#RRGGBB" or "#RGB". |
text_color |
str
The text color as a hex string. "#RRGGBB" or "#RGB". |
horizontal_alignment |
google.cloud.monitoring_dashboard_v1.types.Text.TextStyle.HorizontalAlignment
The horizontal alignment of both the title and content |
vertical_alignment |
google.cloud.monitoring_dashboard_v1.types.Text.TextStyle.VerticalAlignment
The vertical alignment of both the title and content |
padding |
google.cloud.monitoring_dashboard_v1.types.Text.TextStyle.PaddingSize
The amount of padding around the widget |
font_size |
google.cloud.monitoring_dashboard_v1.types.Text.TextStyle.FontSize
Font sizes for both the title and content. The title will still be larger relative to the content. |
pointer_location |
google.cloud.monitoring_dashboard_v1.types.Text.TextStyle.PointerLocation
The pointer location for this widget (also sometimes called a "tail") |
Classes
FontSize
FontSize(value)
Specifies a font size for the title and content of a text widget
HorizontalAlignment
HorizontalAlignment(value)
The horizontal alignment of both the title and content on a text widget
PaddingSize
PaddingSize(value)
Specifies padding size around a text widget
PointerLocation
PointerLocation(value)
Specifies where a visual pointer is placed on a text widget (also sometimes called a "tail")
VerticalAlignment
VerticalAlignment(value)
The vertical alignment of both the title and content on a text widget