Class

RemoteTileMode

Defines what happens when an edge of a shader falls within the shape being painted.

Source set: JvmAndAndroid
public class RemoteTileMode internal constructor(internal val value: Int)

Defines what happens when an edge of a shader falls within the shape being painted.

Functions

toString

Source set: JvmAndAndroid
override fun toString(): String

Members

Companion

Source set: JvmAndAndroid
public companion object

Properties

Clamp

Source set: JvmAndAndroid
public val Clamp: RemoteTileMode = RemoteTileMode(0)

Edge is clamped to the edge of the shader.

Repeated

Source set: JvmAndAndroid
public val Repeated: RemoteTileMode = RemoteTileMode(1)

Shader is repeated horizontally and vertically.

Mirror

Source set: JvmAndAndroid
public val Mirror: RemoteTileMode = RemoteTileMode(2)

Shader is repeated horizontally and vertically, alternating mirror images.

Decal

Source set: JvmAndAndroid
public val Decal: RemoteTileMode = RemoteTileMode(3)

Render the shader only within the original bounds, leaving outer areas transparent black.

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: