WallpaperColors Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
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.
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.