Stay organized with collections
Save and categorize content based on your preferences.
class CardBorder
Represents the Border
of Card in different interaction states.
Summary
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# CardBorder\n==========\n\nArtifact: [androidx.tv:tv-material](/jetpack/androidx/releases/tv) \n[View Source](https://cs.android.com/search?q=file:androidx/tv/material3/CardStyles.kt+class:androidx.tv.material3.CardBorder) \nAdded in [1.0.0](/jetpack/androidx/releases/tv#1.0.0)\n\n\n```\nclass CardBorder\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nRepresents the [Border](/reference/kotlin/androidx/tv/material3/Border) of Card in different interaction states.\n\nSummary\n-------\n\n| ### Public functions |\n|-----------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `open operator `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [equals](/reference/kotlin/androidx/tv/material3/CardBorder#equals(kotlin.Any))`(other: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?)` |\n| `open `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [hashCode](/reference/kotlin/androidx/tv/material3/CardBorder#hashCode())`()` |\n| `open `[String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) | [toString](/reference/kotlin/androidx/tv/material3/CardBorder#toString())`()` |\n\nPublic functions\n----------------\n\n### equals\n\n```\nopen operator fun equals(other: Any?): Boolean\n``` \n\n### hashCode\n\n```\nopen fun hashCode(): Int\n``` \n\n### toString\n\n```\nopen fun toString(): String\n```"]]