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 disabledShapeShape

the shape used when the NavigationDrawerItem is not enabled

focusedDisabledShape

Added in 1.0.0
val focusedDisabledShapeShape

the shape used when the NavigationDrawerItem is not enabled and focused

focusedSelectedShape

Added in 1.0.0
val focusedSelectedShapeShape

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

focusedShape

Added in 1.0.0
val focusedShapeShape

the shape used when the NavigationDrawerItem is enabled and focused

pressedSelectedShape

Added in 1.0.0
val pressedSelectedShapeShape

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

pressedShape

Added in 1.0.0
val pressedShapeShape

the shape used when the NavigationDrawerItem is enabled and pressed

selectedShape

Added in 1.0.0
val selectedShapeShape

the shape used when the NavigationDrawerItem is enabled and selected

shape

Added in 1.0.0
val shapeShape

the default shape used when the NavigationDrawerItem is enabled