NavigationDrawerItemShape
class NavigationDrawerItemShape
Defines Shape for all TV Indication states of a NavigationDrawerItem
Summary
Public constructors |
|---|
NavigationDrawerItemShape(create an instance with arbitrary shape. |
Public properties |
|
|---|---|
Shape |
the shape used when the |
Shape |
the shape used when the |
Shape |
the shape used when the |
Shape |
the shape used when the |
Shape |
the shape used when the |
Shape |
the shape used when the |
Shape |
the shape used when the |
Shape |
the default shape used when the |
Public constructors
NavigationDrawerItemShape
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 |
focusedShape: Shape |
the shape used when the |
pressedShape: Shape |
the shape used when the |
selectedShape: Shape |
the shape used when the |
disabledShape: Shape |
the shape used when the |
focusedSelectedShape: Shape |
the shape used when the |
focusedDisabledShape: Shape |
the shape used when the |
pressedSelectedShape: Shape |
the shape used when the |
Public functions
Public properties
disabledShape
val disabledShape: Shape
the shape used when the NavigationDrawerItem is not enabled
focusedDisabledShape
val focusedDisabledShape: Shape
the shape used when the NavigationDrawerItem is not enabled and focused
focusedSelectedShape
val focusedSelectedShape: Shape
the shape used when the NavigationDrawerItem is enabled, focused and selected
focusedShape
val focusedShape: Shape
the shape used when the NavigationDrawerItem is enabled and focused
pressedSelectedShape
val pressedSelectedShape: Shape
the shape used when the NavigationDrawerItem is enabled, pressed and selected
pressedShape
val pressedShape: Shape
the shape used when the NavigationDrawerItem is enabled and pressed
selectedShape
val selectedShape: Shape
the shape used when the NavigationDrawerItem is enabled and selected
shape
val shape: Shape
the default shape used when the NavigationDrawerItem is enabled