コード例 #1
0
 public void CaptureScreen(SkiaSharp.SKData data) //SkiaSharp.SKData data
 {
     using (var stream = File.OpenWrite(Android.OS.Environment.ExternalStorageDirectory + "/image44.png"))
     {
         data.SaveTo(stream);
     }
 }
コード例 #2
0
 public CustomTypefaceProvider(SkiaSharp.SKData data, int index = 0)
 {
     Typeface   = SkiaSharp.SKTypeface.FromData(data, index);
     FamilyName = Typeface.FamilyName;
 }
コード例 #3
0
 public SkiaSharp.SKTypeface CreateTypeface(SkiaSharp.SKData data, int index = 0)
 {
     return(FontManager.CreateTypeface(data, index));
 }