Insets

Class of android.graphics · Insets.java · Android's reference

public final class Insets implements android.os.Parcelable

Four integer insets.

Fields

public static final Insets NONE source
public final int left source
public final int top source
public final int bottom source

Methods

public static Insets of(int left, int top, int right, int bottom) source
public static Insets of(Rect r) source
public Rect toRect() source
public static Insets add(Insets a, Insets b) source
public static Insets subtract(Insets a, Insets b) source
public static Insets max(Insets a, Insets b) source
public static Insets min(Insets a, Insets b) source
public boolean equals(Object o) source
public int hashCode() source
public String toString() source
public int describeContents() source
public void writeToParcel(android.os.Parcel out, int flags) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.