Outline

  • Common/All
  • Android/JVM
Outline.Generic

An area defined as a path.

Outline.Rectangle

Rectangular area.

Outline.Rounded

Rectangular area with rounded corners.


Defines a simple shape, used for bounding graphical regions.

Can be used for defining a shape of the component background, a shape of shadows cast by the component, or to clip the contents.

Summary

Nested types

An area defined as a path.

Rectangular area.

Rectangular area with rounded corners.

Protected constructors

Cmn

Public properties

abstract Rect

Return the bounds of the outline

Cmn

Protected constructors

Outline

protected Outline()

Public properties

bounds

abstract val boundsRect

Return the bounds of the outline

App architecture design is an important consideration for ensuring that your apps are robust, testable, and maintainable. Android provides a set of libraries and components to help you put together your app according to best practices.

Updated Feb 10, 2025

Follow best practices, eliminate boilerplate code, and reduce fragmentation

Updated Jun 10, 2024

App architecture design is an important consideration for ensuring that your apps are robust, testable, and maintainable. Android provides a set of libraries and components to help you put together your app according to best practices.

Updated Feb 10, 2025