Enumerations

The following enumerations are available globally.

  • Shapes for Material Floating buttons.

    The mini size should only be used when required for visual continuity with other elements on the screen.

    See more

    Declaration

    Objective-C

    enum MDCFloatingButtonShape {}
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, MDCFloatingButtonMode) {
      /**
       The floating button is a circle with its contents centered.
       */
      MDCFloatingButtonModeNormal = 0,
    
      /**
       The floating button is a "pill shape" with the image to one side of the title.
       */
      MDCFloatingButtonModeExpanded = 1,
    }
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, MDCFloatingButtonImageLocation) {
      /**
       The image of the floating button is on the leading side of the title.
       */
      MDCFloatingButtonImageLocationLeading = 0,
    
      /**
       The image of the floating button is on the trailing side of the title.
       */
      MDCFloatingButtonImageLocationTrailing = 1,
    }
  • This enum consists of the different types of shape values that can be provided.

    • MDCCornerTreatmentValueTypeAbsolute: If an absolute corner value is provided.
    • MDCCornerTreatmentValueTypePercentage: If a relative corner value is provided.

    See MDCShapeCorner’s @c size property for additional details.

    See more

    Declaration

    Objective-C

    enum MDCCornerTreatmentValueType {}