{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

RenderEffectKt

public final class RenderEffectKt


Summary

Public methods

static final @NonNull BlurEffect
BlurEffect(float radiusX, float radiusY, @NonNull TileMode edgeTreatment)

Create a BlurEffect that implicitly blurs the contents of the GraphicsLayerScope it is configured on

static final @NonNull OffsetEffect
OffsetEffect(float offsetX, float offsetY)

Create an OffsetEffect that implicitly offsets the contents of the GraphicsLayerScope it is configured on

Public methods

BlurEffect

public static final @NonNull BlurEffect BlurEffect(float radiusX, float radiusY, @NonNull TileMode edgeTreatment)

Create a BlurEffect that implicitly blurs the contents of the GraphicsLayerScope it is configured on

OffsetEffect

public static final @NonNull OffsetEffect OffsetEffect(float offsetX, float offsetY)

Create an OffsetEffect that implicitly offsets the contents of the GraphicsLayerScope it is configured on