The Developer Preview for Android 11 is now available; test it out and share your feedback.

Shader

class Shader
kotlin.Any
   ↳ androidx.ui.graphics.Shader

Inline class used to represent primitives used to render gradients or to tile an Image

Summary

Public constructors

<init>(nativeShader: NativeShader)

Inline class used to represent primitives used to render gradients or to tile an Image

Inherited extension functions

From androidx.compose
operator T

IMPORTANT: This global operator is TEMPORARY, and should be removed whenever an answer for contextual composers is reached.

Properties

NativeShader

Public constructors

<init>

Shader(nativeShader: NativeShader)

Inline class used to represent primitives used to render gradients or to tile an Image

Properties

nativeShader

val nativeShader: NativeShader