Duality.Resources.Font.Font C# (CSharp) Method

Font() static private method

static private Font ( ) : System
return System
        static Font()
        {
            int maxCharVal = 0;
            for (int i = 0; i < SupportedChars.Length; i++) maxCharVal = Math.Max(maxCharVal, (int)SupportedChars[i]);

            int[] cl = new int[maxCharVal + 1];
            for (int i = 0; i < SupportedChars.Length; i++) cl[SupportedChars[i]] = i;

            CharLookup = cl;
        }

Same methods

Font::Font ( string familyName, float emSize, FontStyle style = FontStyle.Regular ) : System