ThumbnailGridColors

class ThumbnailGridColors(val backgroundColor: Color = Color.Unspecified, val selectionCheckBackgroundColor: Color = Color.Unspecified, val itemRippleColor: Color = Color.Unspecified, val currentPageHighlightColor: Color = Color.Unspecified)

Color scheme for the thumbnail grid, the page overview that PdfThumbnailGrid shows.

A color left Color.Unspecified takes its Material 3 role from the scheme's UiColorScheme.material when the scheme is resolved, so only the colors that differ from the Material theme need to be set.

Constructors

Link copied to clipboard
constructor(backgroundColor: Color = Color.Unspecified, selectionCheckBackgroundColor: Color = Color.Unspecified, itemRippleColor: Color = Color.Unspecified, currentPageHighlightColor: Color = Color.Unspecified)

Properties

Link copied to clipboard

Background behind the pages; surfaceDim by default. PdfThumbnailGrid.setBackgroundColor() replaces it.

Link copied to clipboard

Highlight behind the page that is currently shown in the document; primary by default.

Link copied to clipboard

Ripple when a page is pressed; inversePrimary by default.

Link copied to clipboard

Fill of the check circle on pages selected for document editing; primary by default.

Functions

Link copied to clipboard
fun copy(backgroundColor: Color = this.backgroundColor, selectionCheckBackgroundColor: Color = this.selectionCheckBackgroundColor, itemRippleColor: Color = this.itemRippleColor, currentPageHighlightColor: Color = this.currentPageHighlightColor): ThumbnailGridColors

Returns a copy with the given colors replaced.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Two ThumbnailGridColors are equal when all their colors are.

Link copied to clipboard
open override fun hashCode(): Int

A hash of all the colors, consistent with equals.

Link copied to clipboard
open override fun toString(): String

Every color, by property name.