Package 

Interface Insets


  • @Deprecated(message = 
    accompanist/insets is deprecated.
    The androidx.compose equivalent of Insets is WindowInsets.
    For more migration information, please visit https://google.github.io/accompanist/insets/#migration
    )@Stable() 
    public interface Insets
    
                        

    Interface which represents a single set of inset values. Each instance holds four integer offsets which describe changes to the four edges of a rectangle.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class Insets.Companion
    • Method Summary

      Modifier and Type Method Description
      Insets copy(Integer left, Integer top, Integer right, Integer bottom) Returns a copy of this instance with the given values.
      Insets minus(Insets other)
      Insets plus(Insets other)
      abstract Integer getLeft() The left dimension of these insets in pixels.
      abstract Integer getTop() The top dimension of these insets in pixels.
      abstract Integer getRight() The right dimension of these insets in pixels.
      abstract Integer getBottom() The bottom dimension of these insets in pixels.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait