Class UIBackgroundConfiguration

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class UIBackgroundConfiguration
extends NSObject
implements NSSecureCoding
Since:
Available in iOS 14.0 and later.
  • Constructor Details

    • UIBackgroundConfiguration

      protected UIBackgroundConfiguration()
    • UIBackgroundConfiguration

      protected UIBackgroundConfiguration​(NSObject.Handle h, long handle)
    • UIBackgroundConfiguration

      protected UIBackgroundConfiguration​(NSObject.SkipInit skipInit)
    • UIBackgroundConfiguration

      public UIBackgroundConfiguration​(NSCoder coder)
  • Method Details

    • getCustomView

      public UIView getCustomView()
    • setCustomView

      public void setCustomView​(UIView v)
    • getCornerRadius

      public double getCornerRadius()
    • setCornerRadius

      public void setCornerRadius​(double v)
    • getBackgroundInsets

      public NSDirectionalEdgeInsets getBackgroundInsets()
    • setBackgroundInsets

      public void setBackgroundInsets​(NSDirectionalEdgeInsets v)
    • getEdgesAddingLayoutMarginsToBackgroundInsets

      public NSDirectionalRectEdge getEdgesAddingLayoutMarginsToBackgroundInsets()
    • setEdgesAddingLayoutMarginsToBackgroundInsets

      public void setEdgesAddingLayoutMarginsToBackgroundInsets​(NSDirectionalRectEdge v)
    • getBackgroundColor

      public UIColor getBackgroundColor()
    • setBackgroundColor

      public void setBackgroundColor​(UIColor v)
    • getBackgroundColorTransformer

      public Block1<UIColor,​UIColor> getBackgroundColorTransformer()
    • setBackgroundColorTransformer

      public void setBackgroundColorTransformer​(Block1<UIColor,​UIColor> v)
    • getVisualEffect

      public UIVisualEffect getVisualEffect()
    • setVisualEffect

      public void setVisualEffect​(UIVisualEffect v)
    • getImage

      public UIImage getImage()
      Since:
      Available in iOS 15.0 and later.
    • setImage

      public void setImage​(UIImage v)
      Since:
      Available in iOS 15.0 and later.
    • getImageContentMode

      public UIViewContentMode getImageContentMode()
      Since:
      Available in iOS 15.0 and later.
    • setImageContentMode

      public void setImageContentMode​(UIViewContentMode v)
      Since:
      Available in iOS 15.0 and later.
    • getStrokeColor

      public UIColor getStrokeColor()
    • setStrokeColor

      public void setStrokeColor​(UIColor v)
    • getStrokeColorTransformer

      public Block1<UIColor,​UIColor> getStrokeColorTransformer()
    • setStrokeColorTransformer

      public void setStrokeColorTransformer​(Block1<UIColor,​UIColor> v)
    • getStrokeWidth

      public double getStrokeWidth()
    • setStrokeWidth

      public void setStrokeWidth​(double v)
    • getStrokeOutset

      public double getStrokeOutset()
    • setStrokeOutset

      public void setStrokeOutset​(double v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • updatedConfigurationForState

      public UIBackgroundConfiguration updatedConfigurationForState​(UIConfigurationState state)
    • resolvedBackgroundColorForTintColor

      public UIColor resolvedBackgroundColorForTintColor​(UIColor tintColor)
    • resolvedStrokeColorForTintColor

      public UIColor resolvedStrokeColorForTintColor​(UIColor tintColor)
    • clearConfiguration

      public static UIBackgroundConfiguration clearConfiguration()
    • listPlainCellConfiguration

      public static UIBackgroundConfiguration listPlainCellConfiguration()
    • listPlainHeaderFooterConfiguration

      public static UIBackgroundConfiguration listPlainHeaderFooterConfiguration()
    • listGroupedCellConfiguration

      public static UIBackgroundConfiguration listGroupedCellConfiguration()
    • listGroupedHeaderFooterConfiguration

      public static UIBackgroundConfiguration listGroupedHeaderFooterConfiguration()
    • listSidebarHeaderConfiguration

      public static UIBackgroundConfiguration listSidebarHeaderConfiguration()
    • listSidebarCellConfiguration

      public static UIBackgroundConfiguration listSidebarCellConfiguration()
    • listAccompaniedSidebarCellConfiguration

      public static UIBackgroundConfiguration listAccompaniedSidebarCellConfiguration()
    • encode

      public void encode​(NSCoder coder)
      Specified by:
      encode in interface NSCoding
    • init

      protected long init​(NSCoder coder)