Drawable.CreateFromPath(String) Método

Definición

Cree un elemento dibujable a partir del nombre de la ruta de acceso del archivo.

[Android.Runtime.Register("createFromPath", "(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;", "")]
public static Android.Graphics.Drawables.Drawable? CreateFromPath(string? pathName);
[<Android.Runtime.Register("createFromPath", "(Ljava/lang/String;)Landroid/graphics/drawable/Drawable;", "")>]
static member CreateFromPath : string -> Android.Graphics.Drawables.Drawable

Parámetros

pathName
String

Devoluciones

Atributos

Comentarios

Cree un elemento dibujable a partir del nombre de la ruta de acceso del archivo.

Java documentación para android.graphics.drawable.Drawable.createFromPath(java.lang.String).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a