Class AndroidTypeConversionExtensions
Inheritance
System.Object
AndroidTypeConversionExtensions
Namespace: Telerik.Maui.Controls.Compatibility.Common.Android
Assembly: Telerik.Maui.Controls.Compatibility.dll
Syntax
public static class AndroidTypeConversionExtensions : Object
Methods
ToAndroidColor(Color)
Declaration
public static Color ToAndroidColor(this Color color)
Parameters
Microsoft.Maui.Graphics.Color
color
|
Returns
Android.Graphics.Color
|
ToAndroidPaint(Color)
Declaration
public static Paint ToAndroidPaint(this Color color)
Parameters
Microsoft.Maui.Graphics.Color
color
|
Returns
Android.Graphics.Paint
|
ToAndroidRadPoint(Point)
Declaration
public static RadPoint ToAndroidRadPoint(this Point point)
Parameters
Microsoft.Maui.Graphics.Point
point
|
Returns
Com.Telerik.Android.Common.Math.RadPoint
|
ToAndroidRadSize(Size)
Declaration
public static RadSize ToAndroidRadSize(this Size size)
Parameters
Microsoft.Maui.Graphics.Size
size
|
Returns
Com.Telerik.Android.Common.Math.RadSize
|
ToAndroidSize(Size, Context, Boolean)
Declaration
public static Size ToAndroidSize(this Size size, Context context, bool toPixels)
Parameters
Microsoft.Maui.Graphics.Size
size
|
Android.Content.Context
context
|
System.Boolean
toPixels
|
Returns
Android.Util.Size
|
ToDashPathEffect(Double[], Context)
Declaration
public static DashPathEffect ToDashPathEffect(this double[] array, Context context)
Parameters
System.Double[]
array
|
Android.Content.Context
context
|
Returns
Android.Graphics.DashPathEffect
|
ToFloatArray(Double[], Context)
Declaration
public static float[] ToFloatArray(this double[] array, Context context)
Parameters
System.Double[]
array
|
Android.Content.Context
context
|
Returns
System.Single[]
|
ToJavaObject(Object)
Declaration
public static Object ToJavaObject(this object obj)
Parameters
System.Object
obj
|
Returns
Java.Lang.Object
|
ToNativeType(Type)
Declaration
public static Type ToNativeType(this Type type)
Parameters
System.Type
type
|
Returns
System.Type
|
ToObject(Object, Type, Object)
Declaration
public static object ToObject(this Object javaObj, Type clrType = null, object context = null)
Parameters
Java.Lang.Object
javaObj
|
System.Type
clrType
|
System.Object
context
|
Returns
System.Object
|