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