{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

IntrinsicSize

public enum IntrinsicSize extends Enum

java.lang.Object
   ↳ kotlin.Enum
     ↳ androidx.compose.foundation.layout.IntrinsicSize

Intrinsic size used in width or height which can refer to width or height.

Summary

Enum Values

Max
Min

Public methods

final @NonNull EnumEntries<@NonNull IntrinsicSize>

Intrinsic size used in width or height which can refer to width or height.

final @NonNull IntrinsicSize

Returns the enum constant of this type with the specified name.

final @NonNull IntrinsicSize[]

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

Max

IntrinsicSize IntrinsicSize.Max

Min

IntrinsicSize IntrinsicSize.Min

Public methods

getEntries

public final @NonNull EnumEntries<@NonNull IntrinsicSizegetEntries()

Intrinsic size used in width or height which can refer to width or height.

valueOf

public final @NonNull IntrinsicSize valueOf(@NonNull String value)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

public final @NonNull IntrinsicSize[] values()

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.