LayerOutsets
-
Cmn
class LayerOutsets
Represents the outsets of a layer, which define the extra visual space around the layer's content. These outsets can be used to expand the layer's bounds beyond its measured content size.
This does not affect the clip or shadows itself and only increases the visual bounds of the layer.
All outset values must be non-negative.
Summary
Public companion properties |
||
|---|---|---|
LayerOutsets |
A |
Cmn
|
Public constructors |
|
|---|---|
LayerOutsets(left: Dp, top: Dp, right: Dp, bottom: Dp) |
Cmn
|
Public properties |
||
|---|---|---|
Dp |
The outset on the bottom side. |
Cmn
|
Dp |
The outset on the left side. |
Cmn
|
Dp |
The outset on the right side. |
Cmn
|
Dp |
The outset on the top side. |
Cmn
|