public AppleMathView(TypesettingContext <TFont, TGlyph> typesettingContext, float fontSize) { Layer.GeometryFlipped = true; BackgroundColor = NColor.FromRGB(0.9f, 0.9f, 0.9f); TextColor = NColor.Black; FontSize = fontSize; _typesettingContext = typesettingContext; }
public static NativeColor Rgb(int r, int g, int b) => NativeColor.FromRGB(r, g, b);