package Ġme . sh ks ch ne ider . skeleton . ui čĊč Ċ import Ġandroid . graphics . Bitmap č Ċ import Ġandroid . graphics . drawable . Bitmap Drawable č Ċ import Ġandroid . graphics . drawable . Drawable č Ċ import Ġandroidx . annotation . Drawable Res č Ċ import Ġandroidx . core . content . Context Compat čĊč Ċ import Ġme . sh ks ch ne ider . skeleton . helper . Application Helper č Ċ import Ġme . sh ks ch ne ider . skeleton . helper . Context Helper čĊč Ċ object ĠDrawable Helper Ġ{ čĊčĊĠĠĠ Ġfun Ġfrom Resource (@ Drawable Res Ġid : ĠInt ): ĠDrawable Ġ{ čĊĠĠĠĠĠĠĠ Ġreturn ĠContext Compat . get Drawable ( Context Helper . application Context (), Ġid ) Ġas ĠDrawable čĊĠĠĠ Ġ} čĊčĊĠĠĠ Ġfun Ġfrom Bitmap ( bitmap : ĠBitmap ): ĠDrawable Ġ{ čĊĠĠĠĠĠĠĠ Ġreturn ĠBitmap Drawable ( Application Helper . resources (), Ġbitmap ) čĊĠĠĠ Ġ} čĊčĊĠĠĠ Ġfun Ġcircular ( bitmap : ĠBitmap ): ĠDrawable Ġ{ čĊĠĠĠĠĠĠĠ Ġ@ Suppress (" DE PREC ATION ") čĊĠĠĠĠĠĠĠ Ġreturn ĠBitmap Drawable ( Application Helper . resources (), ĠBitmap Helper . circular ( bitmap )) čĊĠĠĠ Ġ} čĊčĊĠĠĠ Ġfun Ġto Base 6 4 ( drawable : ĠDrawable ): ĠString Ġ{ čĊĠĠĠĠĠĠĠ Ġreturn ĠBitmap Helper . to Base 6 4 ( Bitmap Helper . from Drawable ( drawable )) čĊĠĠĠ Ġ} čĊč Ċ } čĊ