TransformLayerScope

class TransformLayerScope(var previewerDecoration: @Composable (innerBox: @Composable () -> Unit) -> Unit = @Composable { innerBox -> innerBox() }, var background: @Composable () -> Unit = {}, var foreground: @Composable () -> Unit = {})

通过这个对象可以自定义预览图层

Constructors

Link copied to clipboard
constructor(previewerDecoration: @Composable (innerBox: @Composable () -> Unit) -> Unit = @Composable { innerBox -> innerBox() }, background: @Composable () -> Unit = {}, foreground: @Composable () -> Unit = {})

Properties

Link copied to clipboard

背景图层

Link copied to clipboard

前景图层

Link copied to clipboard
var previewerDecoration: @Composable (innerBox: @Composable () -> Unit) -> Unit

图层修饰