IPropertyReader.ReadColor 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.
Overloads
ReadColor(Int32, ColorObject) |
Read a |
ReadColor(Int32, Int32) |
Read a color packed into a |
ReadColor(Int32, Int64) |
Read a color packed into a |
ReadColor(Int32, ColorObject)
Read a Color
object as a property.
[Android.Runtime.Register("readColor", "(ILandroid/graphics/Color;)V", "GetReadColor_ILandroid_graphics_Color_Handler:Android.Views.Inspectors.IPropertyReaderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)]
public void ReadColor (int id, Android.Graphics.ColorObject? value);
[<Android.Runtime.Register("readColor", "(ILandroid/graphics/Color;)V", "GetReadColor_ILandroid_graphics_Color_Handler:Android.Views.Inspectors.IPropertyReaderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)>]
abstract member ReadColor : int * Android.Graphics.ColorObject -> unit
Parameters
- id
- Int32
Identifier of the property from a PropertyMapper
- value
- ColorObject
Value of the property
- Attributes
Remarks
Read a Color
object as a property.
Java documentation for android.view.inspector.PropertyReader.readColor(int, 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
ReadColor(Int32, Int32)
Read a color packed into a ColorInt
as a property.
[Android.Runtime.Register("readColor", "(II)V", "GetReadColor_IIHandler:Android.Views.Inspectors.IPropertyReaderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)]
public void ReadColor (int id, int value);
[<Android.Runtime.Register("readColor", "(II)V", "GetReadColor_IIHandler:Android.Views.Inspectors.IPropertyReaderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)>]
abstract member ReadColor : int * int -> unit
Parameters
- id
- Int32
Identifier of the property from a PropertyMapper
- value
- Int32
Value of the property
- Attributes
Remarks
Read a color packed into a ColorInt
as a property.
Java documentation for android.view.inspector.PropertyReader.readColor(int, 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
ReadColor(Int32, Int64)
Read a color packed into a ColorLong
as a property.
[Android.Runtime.Register("readColor", "(IJ)V", "GetReadColor_IJHandler:Android.Views.Inspectors.IPropertyReaderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)]
public void ReadColor (int id, long value);
[<Android.Runtime.Register("readColor", "(IJ)V", "GetReadColor_IJHandler:Android.Views.Inspectors.IPropertyReaderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)>]
abstract member ReadColor : int * int64 -> unit
Parameters
- id
- Int32
Identifier of the property from a PropertyMapper
- value
- Int64
Value of the property packed as a ColorLong
. See the
Color
class for details of the packing.
- Attributes
Remarks
Read a color packed into a ColorLong
as a property.
Java documentation for android.view.inspector.PropertyReader.readColor(int, long)
.
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.