Border

data class Border
kotlin.Any
   ↳ androidx.ui.foundation.shape.border.Border

A border of a shape which will be drawn on top of the shape as an inner stroke. This can also be used for the border of a table layout.

Summary

Public constructors

<init>(brush: Brush, width: Dp)

A border of a shape which will be drawn on top of the shape as an inner stroke.

Properties

Brush

the brush to paint the border with.

Dp

the width of the border.

Public constructors

<init>

Border(
    brush: Brush,
    width: Dp)

A border of a shape which will be drawn on top of the shape as an inner stroke. This can also be used for the border of a table layout.

Parameters
brush: Brush the brush to paint the border with.
width: Dp the width of the border. Use Dp.Hairline for a hairline border.

Properties

brush

val brush: Brush

the brush to paint the border with.

width

val width: Dp

the width of the border. Use Dp.Hairline for a hairline border.