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

CaretProperties

@ExperimentalMaterial3Api
public final class CaretProperties


Properties for the caret of the tooltip if enabled.

Summary

Public constructors

CaretProperties(@NonNull Dp caretHeight, @NonNull Dp caretWidth)

Public methods

final @NonNull Dp

the height of the caret

final @NonNull Dp

the width of the caret

Public constructors

CaretProperties

public CaretProperties(@NonNull Dp caretHeight, @NonNull Dp caretWidth)
Parameters
@NonNull Dp caretHeight

the height of the caret

@NonNull Dp caretWidth

the width of the caret

Public methods

getCaretHeight

public final @NonNull Dp getCaretHeight()

the height of the caret

getCaretWidth

public final @NonNull Dp getCaretWidth()

the width of the caret