public interface GraphicsLayerScope
Scope for configuring graphics layer properties in a type-safe builder lambda.
Properties
scaleX
public var scaleX: RemoteFloat
The horizontal scale factor.
scaleY
public var scaleY: RemoteFloat
The vertical scale factor.
rotationX
public var rotationX: RemoteFloat
The rotation of the layer around the X axis, in degrees.
rotationY
public var rotationY: RemoteFloat
The rotation of the layer around the Y axis, in degrees.
rotationZ
public var rotationZ: RemoteFloat
The rotation of the layer around the Z axis, in degrees.
shadowElevation
public var shadowElevation: RemoteFloat
The shadow elevation of the layer.
transformOriginX
public var transformOriginX: RemoteFloat
The horizontal center of the transform, as a fraction of the layer width.
transformOriginY
public var transformOriginY: RemoteFloat
The vertical center of the transform, as a fraction of the layer height.
translationX
public var translationX: RemoteFloat
The horizontal translation of the layer.
translationY
public var translationY: RemoteFloat
The vertical translation of the layer.
alpha
public var alpha: RemoteFloat
The alpha (opacity) of the layer, from 0f (transparent) to 1f (opaque).
cameraDistance
public var cameraDistance: RemoteFloat
The camera distance for 3D transforms.
shape
public var shape: Shape
The shape of the layer. Used for clipping and outline shadows.
compositingStrategy
public var compositingStrategy: CompositingStrategy
The compositing strategy to use for the layer.
renderEffect
public var renderEffect: RenderEffect?
The RenderEffect to apply to this layer, or null.