ColorBuilders.ColorProp

public final class ColorBuilders.ColorProp


A property defining a color.

Summary

Nested types

ColorBuilders.ColorProp.Builder

Builder for ColorProp

Public methods

static @NonNull ColorBuilders.ColorProp.Builder

Returns a new Builder.

@ColorInt @NonNull int

Gets the color value, in ARGB format.

Public methods

builder

@NonNull
public static ColorBuilders.ColorProp.Builder builder()

Returns a new Builder.

getArgb

@ColorInt
@NonNull
public @ColorInt int getArgb()

Gets the color value, in ARGB format. Intended for testing purposes only.