PopMenuActionBackgroundColor

public struct PopMenuActionBackgroundColor

Background color structure to control PopMenu backgrounds.

  • All colors (only one if solid color, or else it’s gradient)

    Declaration

    Swift

    public let colors: [Color]
  • Fill an only solid color into the colors palette.

    Declaration

    Swift

    public static func solid(fill color: Color) -> PopMenuActionBackgroundColor
  • Fill gradient colors into the colors palette.

    Declaration

    Swift

    public static func gradient(fill colors: Color...) -> PopMenuActionBackgroundColor