Compartilhar via


WallpaperColors Constructors

Definition

Overloads

WallpaperColors(Parcel)

Constructs a new object from three colors.

WallpaperColors(ColorObject, ColorObject, ColorObject)

Constructs a new object from three colors.

WallpaperColors(ColorObject, ColorObject, ColorObject, Int32)

Constructs a new object from three colors, where hints can be specified.

WallpaperColors(Parcel)

Constructs a new object from three colors.

[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "", ApiSince=27)]
public WallpaperColors (Android.OS.Parcel? parcel);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "", ApiSince=27)>]
new Android.App.WallpaperColors : Android.OS.Parcel -> Android.App.WallpaperColors

Parameters

parcel
Parcel
Attributes

Remarks

Java documentation for android.app.WallpaperColors.WallpaperColors(android.graphics.Color, android.graphics.Color, android.graphics.Color).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

WallpaperColors(ColorObject, ColorObject, ColorObject)

Constructs a new object from three colors.

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Color;Landroid/graphics/Color;Landroid/graphics/Color;)V", "", ApiSince=27)]
public WallpaperColors (Android.Graphics.ColorObject primaryColor, Android.Graphics.ColorObject? secondaryColor, Android.Graphics.ColorObject? tertiaryColor);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Color;Landroid/graphics/Color;Landroid/graphics/Color;)V", "", ApiSince=27)>]
new Android.App.WallpaperColors : Android.Graphics.ColorObject * Android.Graphics.ColorObject * Android.Graphics.ColorObject -> Android.App.WallpaperColors

Parameters

primaryColor
ColorObject

Primary color.

secondaryColor
ColorObject

Secondary color.

tertiaryColor
ColorObject

Tertiary color.

Attributes

Remarks

Constructs a new object from three colors.

Java documentation for android.app.WallpaperColors.WallpaperColors(android.graphics.Color, android.graphics.Color, android.graphics.Color).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

WallpaperColors(ColorObject, ColorObject, ColorObject, Int32)

Constructs a new object from three colors, where hints can be specified.

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Color;Landroid/graphics/Color;Landroid/graphics/Color;I)V", "", ApiSince=31)]
public WallpaperColors (Android.Graphics.ColorObject primaryColor, Android.Graphics.ColorObject? secondaryColor, Android.Graphics.ColorObject? tertiaryColor, int colorHints);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Color;Landroid/graphics/Color;Landroid/graphics/Color;I)V", "", ApiSince=31)>]
new Android.App.WallpaperColors : Android.Graphics.ColorObject * Android.Graphics.ColorObject * Android.Graphics.ColorObject * int -> Android.App.WallpaperColors

Parameters

primaryColor
ColorObject

Primary color.

secondaryColor
ColorObject

Secondary color.

tertiaryColor
ColorObject

Tertiary color.

colorHints
Int32

A combination of color hints.

Attributes

Remarks

Constructs a new object from three colors, where hints can be specified.

Java documentation for android.app.WallpaperColors.WallpaperColors(android.graphics.Color, android.graphics.Color, android.graphics.Color, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to