Class BorderStyle
The style options for the border of a card or widget, including the border type and color.
Implements
Namespace: Google.Apps.Card.V1
Assembly: Google.Apps.Card.V1.dll
Syntax
public sealed class BorderStyle : IMessage<BorderStyle>, IEquatable<BorderStyle>, IDeepCloneable<BorderStyle>, IBufferMessage, IMessage
Constructors
BorderStyle()
Declaration
public BorderStyle()
BorderStyle(BorderStyle)
Declaration
public BorderStyle(BorderStyle other)
Parameters
Type | Name | Description |
---|---|---|
BorderStyle | other |
Properties
CornerRadius
The corner radius for the border.
Declaration
public int CornerRadius { get; set; }
Property Value
Type | Description |
---|---|
int |
StrokeColor
The colors to use when the type is BORDER_TYPE_STROKE
.
Declaration
public Color StrokeColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Type
The border type.
Declaration
public BorderStyle.Types.BorderType Type { get; set; }
Property Value
Type | Description |
---|---|
BorderStyle.Types.BorderType |