interface GraphicsLayerScope


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

Summary

Public properties

RemoteFloat

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

RemoteFloat

The camera distance for 3D transforms.

CompositingStrategy

The compositing strategy to use for the layer.

RenderEffect?

The RenderEffect to apply to this layer, or null.

RemoteFloat

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

RemoteFloat

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

RemoteFloat

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

RemoteFloat

The horizontal scale factor.

RemoteFloat

The vertical scale factor.

RemoteFloat

The shadow elevation of the layer.

Shape

The shape of the layer.

RemoteFloat

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

RemoteFloat

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

RemoteFloat

The horizontal translation of the layer.

RemoteFloat

The vertical translation of the layer.

Public properties

alpha

Added in 1.0.0-alpha18
var alphaRemoteFloat

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

cameraDistance

Added in 1.0.0-alpha18
var cameraDistanceRemoteFloat

The camera distance for 3D transforms.

compositingStrategy

var compositingStrategyCompositingStrategy

The compositing strategy to use for the layer.

renderEffect

Added in 1.0.0-alpha18
var renderEffectRenderEffect?

The RenderEffect to apply to this layer, or null.

rotationX

Added in 1.0.0-alpha18
var rotationXRemoteFloat

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

rotationY

Added in 1.0.0-alpha18
var rotationYRemoteFloat

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

rotationZ

Added in 1.0.0-alpha18
var rotationZRemoteFloat

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

scaleX

Added in 1.0.0-alpha18
var scaleXRemoteFloat

The horizontal scale factor.

scaleY

Added in 1.0.0-alpha18
var scaleYRemoteFloat

The vertical scale factor.

shadowElevation

Added in 1.0.0-alpha18
var shadowElevationRemoteFloat

The shadow elevation of the layer.

shape

Added in 1.0.0-alpha18
var shapeShape

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

transformOriginX

Added in 1.0.0-alpha18
var transformOriginXRemoteFloat

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

transformOriginY

Added in 1.0.0-alpha18
var transformOriginYRemoteFloat

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

translationX

Added in 1.0.0-alpha18
var translationXRemoteFloat

The horizontal translation of the layer.

translationY

Added in 1.0.0-alpha18
var translationYRemoteFloat

The vertical translation of the layer.