DefaultTooltipCaretShape
-
Cmn
@ExperimentalMaterial3Api
class DefaultTooltipCaretShape : Shape
Default Shape of the caret used by tooltips.
Summary
Public constructors |
|
|---|---|
DefaultTooltipCaretShape(caretSize: DpSize) |
Cmn
|
Public functions |
||
|---|---|---|
open Outline |
createOutline( |
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. |