public final class

LayoutElementBuilders.ColorFilter.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.LayoutElementBuilders.ColorFilter.Builder

Overview

Builder for LayoutElementBuilders.ColorFilter

Summary

Constructors
publicBuilder()

Methods
public LayoutElementBuilders.ColorFilterbuild()

Builds an instance from accumulated values.

public LayoutElementBuilders.ColorFilter.BuildersetTint(ColorBuilders.ColorProp tint)

Sets the tint color to use.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Builder()

Methods

Sets the tint color to use. If specified, the image will be tinted, using SRC_IN blending (that is, all color information will be stripped from the target image, and only the alpha channel will be blended with the requested color).

Note that only Android image resources can be tinted; Inline images will not be tinted, and this property will have no effect.

Builds an instance from accumulated values.