Class GoogleAppsCardV1MaterialIcon
A Google Material Icon, which includes over 2500+ options. For example, to display a checkbox icon with customized weight and grade, write the following:
{ "name": "check_box", "fill": true, "weight": 300,
"grade": -25 }
Implements
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1.Data
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class GoogleAppsCardV1MaterialIcon : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Fill
Whether the icon renders as filled. Default value is false. To preview different icon settings, go to Google Font Icons and adjust the settings under Customize.
Declaration
[JsonProperty("fill")]
public virtual bool? Fill { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Grade
Weight and grade affect a symbol’s thickness. Adjustments to grade are more granular than adjustments to weight and have a small impact on the size of the symbol. Choose from {-25, 0, 200}. If absent, default value is 0. If any other value is specified, the default value is used. To preview different icon settings, go to Google Font Icons and adjust the settings under Customize.
Declaration
[JsonProperty("grade")]
public virtual int? Grade { get; set; }
Property Value
Type | Description |
---|---|
int? |
Name
The icon name defined in the Google Material Icon, for example,
check_box
. Any invalid names are abandoned and replaced with empty string and results in the icon failing
to render.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Weight
The stroke weight of the icon. Choose from {100, 200, 300, 400, 500, 600, 700}. If absent, default value is 400. If any other value is specified, the default value is used. To preview different icon settings, go to Google Font Icons and adjust the settings under Customize.
Declaration
[JsonProperty("weight")]
public virtual int? Weight { get; set; }
Property Value
Type | Description |
---|---|
int? |