# DefaultTooltipCaretShape

Artifact: [androidx.compose.material3:material3](https://developer.android.com/jetpack/androidx/releases/compose-material3) [View Source](https://cs.android.com/search?q=file:androidx/compose/material3/Tooltip.kt+class:androidx.compose.material3.DefaultTooltipCaretShape) Common/AllAndroid/JVM
- Cmn

  ```
  @ExperimentalMaterial3Api
  class DefaultTooltipCaretShape : Shape
  ```

*** ** * ** ***

Default `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` of the caret used by tooltips.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/DefaultTooltipCaretShape#DefaultTooltipCaretShape(androidx.compose.ui.unit.DpSize)(caretSize: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/DpSize)` | Cmn |

| ### Public functions |
|---|---|---|
| `open https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Outline` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/DefaultTooltipCaretShape#createOutline(androidx.compose.ui.geometry.Size,androidx.compose.ui.unit.LayoutDirection,androidx.compose.ui.unit.Density)( size: https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Size, layoutDirection: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/LayoutDirection, density: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Density )` Creates `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Outline` of this shape for the given `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape#createOutline(androidx.compose.ui.geometry.Size,androidx.compose.ui.unit.LayoutDirection,androidx.compose.ui.unit.Density)`. | Cmn |

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/DpSize` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/DefaultTooltipCaretShape#caretSize()` the size of the caret used | Cmn |

## Public constructors

### DefaultTooltipCaretShape

Cmn

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

| Parameters |
|---|---|
| `caretSize: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/DpSize = TooltipDefaults.caretSize` | the size of the caret used |

## Public functions

### createOutline

Cmn

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

Creates `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Outline` of this shape for the given `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape#createOutline(androidx.compose.ui.geometry.Size,androidx.compose.ui.unit.LayoutDirection,androidx.compose.ui.unit.Density)`.

| Parameters |
|---|---|
| `size: https://developer.android.com/reference/kotlin/androidx/compose/ui/geometry/Size` | the size of the shape boundary. |
| `layoutDirection: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/LayoutDirection` | the current layout direction. |
| `density: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Density` | the current density of the screen. |

| Returns |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Outline` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Outline` of this shape for the given `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape#createOutline(androidx.compose.ui.geometry.Size,androidx.compose.ui.unit.LayoutDirection,androidx.compose.ui.unit.Density)`. |

## Public properties

### caretSize

Cmn

```
val caretSize: DpSize
```

the size of the caret used