CarouselView.FormsPlugin.Android.TextMeterImplementation.GetTypeface C# (CSharp) Method

GetTypeface() private method

private GetTypeface ( string fontName ) : Android.Graphics.Typeface
fontName string
return Android.Graphics.Typeface
		private Typeface GetTypeface(string fontName)
		{
			if (fontName == null)
			{
				return Typeface.Default;
			}

			if (textTypeface == null)
			{
				textTypeface = Typeface.Create(fontName, TypefaceStyle.Normal);
			}

			return textTypeface;
		}
	}
TextMeterImplementation