Interface

RemoteGraphicsLayerScope

Scope for configuring graphics layer properties in a type-safe builder lambda.

Source set: JvmAndAndroid
public interface RemoteGraphicsLayerScope

Scope for configuring graphics layer properties in a type-safe builder lambda.

Properties

scaleX

Source set: JvmAndAndroid
public var scaleX: RemoteFloat

The horizontal scale factor.

scaleY

Source set: JvmAndAndroid
public var scaleY: RemoteFloat

The vertical scale factor.

rotationX

Source set: JvmAndAndroid
public var rotationX: RemoteFloat

The rotation of the layer around the X axis, in degrees.

rotationY

Source set: JvmAndAndroid
public var rotationY: RemoteFloat

The rotation of the layer around the Y axis, in degrees.

rotationZ

Source set: JvmAndAndroid
public var rotationZ: RemoteFloat

The rotation of the layer around the Z axis, in degrees.

shadowElevation

Source set: JvmAndAndroid
public var shadowElevation: RemoteFloat

The shadow elevation of the layer.

transformOriginX

Source set: JvmAndAndroid
public var transformOriginX: RemoteFloat

The horizontal center of the transform, as a fraction of the layer width.

transformOriginY

Source set: JvmAndAndroid
public var transformOriginY: RemoteFloat

The vertical center of the transform, as a fraction of the layer height.

translationX

Source set: JvmAndAndroid
public var translationX: RemoteFloat

The horizontal translation of the layer.

translationY

Source set: JvmAndAndroid
public var translationY: RemoteFloat

The vertical translation of the layer.

alpha

Source set: JvmAndAndroid
public var alpha: RemoteFloat

The alpha (opacity) of the layer, from 0f (transparent) to 1f (opaque).

cameraDistance

Source set: JvmAndAndroid
public var cameraDistance: RemoteFloat

The camera distance for 3D transforms.

shape

Source set: JvmAndAndroid
public var shape: RemoteShape

The shape of the layer. Used for clipping and outline shadows.

compositingStrategy

Source set: JvmAndAndroid
public var compositingStrategy: RemoteCompositingStrategy

The compositing strategy to use for the layer.

renderEffect

Source set: JvmAndAndroid
public var renderEffect: RemoteRenderEffect?

The RemoteRenderEffect to apply to this layer, or null.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: