Show / Hide Table of Contents

Class BorderStyle

The style options for the border of a card or widget, including the border type and color.

Google Workspace Add-ons and Chat apps:

Inheritance
object
BorderStyle
Implements
IMessage<BorderStyle>
IEquatable<BorderStyle>
IDeepCloneable<BorderStyle>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
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
In this article
Back to top Generated by DocFX