ColorStateList.WithLStar(Single) Method
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.
Creates a new ColorStateList that has the same states and colors as this one but where each color has the specified perceived luminosity value (0-100).
[Android.Runtime.Register("withLStar", "(F)Landroid/content/res/ColorStateList;", "GetWithLStar_FHandler", ApiSince=31)]
public virtual Android.Content.Res.ColorStateList WithLStar (float lStar);
[<Android.Runtime.Register("withLStar", "(F)Landroid/content/res/ColorStateList;", "GetWithLStar_FHandler", ApiSince=31)>]
abstract member WithLStar : single -> Android.Content.Res.ColorStateList
override this.WithLStar : single -> Android.Content.Res.ColorStateList
Parameters
- lStar
- Single
Target perceptual luminance (0-100).
Returns
A new color state list.
- Attributes
Remarks
Creates a new ColorStateList that has the same states and colors as this one but where each color has the specified perceived luminosity value (0-100).
Java documentation for android.content.res.ColorStateList.withLStar(float)
.
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.