Shape
-
Cmn
interface Shape
CornerBasedShape |
Base class for |
DefaultTooltipCaretShape |
Default |
GenericShape |
Creates |
AbsoluteCutCornerShape |
A shape describing the rectangle with cut corners. |
AbsoluteRoundedCornerShape |
A shape describing the rectangle with rounded corners. |
CutCornerShape |
A shape describing the rectangle with cut corners. |
RoundedCornerShape |
A shape describing the rectangle with rounded corners. |
Defines a generic shape.
Summary
Public functions |
||
|---|---|---|
Outline |
createOutline( |
Cmn
|
Public functions
createOutline
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. |