NavigationDrawerItemShape

class NavigationDrawerItemShape


Defines Shape for all TV Indication states of a NavigationDrawerItem

Summary

Public constructors

NavigationDrawerItemShape(
    shape: Shape,
    focusedShape: Shape,
    pressedShape: Shape,
    selectedShape: Shape,
    disabledShape: Shape,
    focusedSelectedShape: Shape,
    focusedDisabledShape: Shape,
    pressedSelectedShape: Shape
)

create an instance with arbitrary shape.

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Shape

the shape used when the NavigationDrawerItem is not enabled

Shape

the shape used when the NavigationDrawerItem is not enabled and focused

Shape

the shape used when the NavigationDrawerItem is enabled, focused and selected

Shape

the shape used when the NavigationDrawerItem is enabled and focused

Shape

the shape used when the NavigationDrawerItem is enabled, pressed and selected

Shape

the shape used when the NavigationDrawerItem is enabled and pressed

Shape

the shape used when the NavigationDrawerItem is enabled and selected

Shape

the default shape used when the NavigationDrawerItem is enabled

Public constructors

Added in 1.0.0
NavigationDrawerItemShape(
    shape: Shape,
    focusedShape: Shape,
    pressedShape: Shape,
    selectedShape: Shape,
    disabledShape: Shape,
    focusedSelectedShape: Shape,
    focusedDisabledShape: Shape,
    pressedSelectedShape: Shape
)

create an instance with arbitrary shape. See NavigationDrawerItemDefaults.shape for the default shape used in a NavigationDrawerItem

Parameters
shape: Shape

the default shape used when the NavigationDrawerItem is enabled

focusedShape: Shape

the shape used when the NavigationDrawerItem is enabled and focused

pressedShape: Shape

the shape used when the NavigationDrawerItem is enabled and pressed

selectedShape: Shape

the shape used when the NavigationDrawerItem is enabled and selected

disabledShape: Shape

the shape used when the NavigationDrawerItem is not enabled

focusedSelectedShape: Shape

the shape used when the NavigationDrawerItem is enabled, focused and selected

focusedDisabledShape: Shape

the shape used when the NavigationDrawerItem is not enabled and focused

pressedSelectedShape: Shape

the shape used when the NavigationDrawerItem is enabled, pressed and selected

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

disabledShape

Added in 1.0.0
val disabledShape: Shape

the shape used when the NavigationDrawerItem is not enabled

focusedDisabledShape

Added in 1.0.0
val focusedDisabledShape: Shape

the shape used when the NavigationDrawerItem is not enabled and focused

focusedSelectedShape

Added in 1.0.0
val focusedSelectedShape: Shape

the shape used when the NavigationDrawerItem is enabled, focused and selected

focusedShape

Added in 1.0.0
val focusedShape: Shape

the shape used when the NavigationDrawerItem is enabled and focused

pressedSelectedShape

Added in 1.0.0
val pressedSelectedShape: Shape

the shape used when the NavigationDrawerItem is enabled, pressed and selected

pressedShape

Added in 1.0.0
val pressedShape: Shape

the shape used when the NavigationDrawerItem is enabled and pressed

selectedShape

Added in 1.0.0
val selectedShape: Shape

the shape used when the NavigationDrawerItem is enabled and selected

shape

Added in 1.0.0
val shape: Shape

the default shape used when the NavigationDrawerItem is enabled