Package com.pspdfkit.compose.ui
Class PopupMenuAppearance
-
- All Implemented Interfaces:
public final class PopupMenuAppearance
Controls the appearance of the popup menu.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
PopupMenuAppearance.Companion
-
Field Summary
Fields Modifier and Type Field Description private final PopupMenuColors
colors
private final Dp
elevation
private final Shape
shape
private final Dp
containerHorizontalPadding
private final Integer
animationDuration
public final static PopupMenuAppearance.Companion
Companion
-
Constructor Summary
Constructors Constructor Description PopupMenuAppearance(PopupMenuColors colors, Dp elevation, Shape shape, Dp containerHorizontalPadding, Integer animationDuration)
-
Method Summary
Modifier and Type Method Description final PopupMenuColors
getColors()
final Dp
getElevation()
final Shape
getShape()
final Dp
getContainerHorizontalPadding()
final Integer
getAnimationDuration()
-
-
Constructor Detail
-
PopupMenuAppearance
PopupMenuAppearance(PopupMenuColors colors, Dp elevation, Shape shape, Dp containerHorizontalPadding, Integer animationDuration)
- Parameters:
colors
- The colors of the popup menuelevation
- The elevation/shadow of the popup menushape
- The shape of the popup menucontainerHorizontalPadding
- The horizontal padding of the popup menuanimationDuration
- The duration of the popup menu animations
-
-
Method Detail
-
getColors
final PopupMenuColors getColors()
-
getElevation
final Dp getElevation()
-
getContainerHorizontalPadding
final Dp getContainerHorizontalPadding()
-
getAnimationDuration
final Integer getAnimationDuration()
-
-
-
-