DefaultTooltipCaretShape


Default Shape of the caret used by tooltips.

Summary

Public constructors

Cmn

Public functions

open Outline
createOutline(
    size: Size,
    layoutDirection: LayoutDirection,
    density: Density
)

Creates Outline of this shape for the given size.

Cmn

Public properties

DpSize

the size of the caret used

Cmn

Public constructors

DefaultTooltipCaretShape

DefaultTooltipCaretShape(caretSize: DpSize = TooltipDefaults.caretSize)
Parameters
caretSize: DpSize = TooltipDefaults.caretSize

the size of the caret used

Public functions

createOutline

open fun createOutline(
    size: Size,
    layoutDirection: LayoutDirection,
    density: Density
): Outline

Creates Outline of this shape for the given size.

Parameters
size: Size

the size of the shape boundary.

layoutDirection: LayoutDirection

the current layout direction.

density: Density

the current density of the screen.

Returns
Outline

Outline of this shape for the given size.

Public properties

caretSize

val caretSizeDpSize

the size of the caret used