6월 3일의 ⁠#Android11: 베타 버전 출시 행사에 참여하세요.

Shape

interface Shape
androidx.ui.graphics.Shape

Defines a generic shape.

Summary

Public methods

abstract Outline
createOutline(size: PxSize, density: Density)

Creates Outline of this shape for the given size.

Public methods

createOutline

abstract fun createOutline(
    size: PxSize,
    density: Density
): Outline

Creates Outline of this shape for the given size.

Parameters
size: PxSize the size of the shape boundary.
density: Density the current density of the screen.
Return
Outline of this shape for the given size.