Beispiel #1
0
 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;
 }
Beispiel #2
0
 public static NativeColor Rgb(int r, int g, int b) => NativeColor.FromRGB(r, g, b);