示例#1
0
        //each platform/canvas has its own representation of this Font
        //this is just a request for specficic font presentation at a time
        //-----

        public RequestFont(string facename, float fontSizeInPts, FontStyle style = FontStyle.Regular)
            : this(facename, Len.Pt(fontSizeInPts), style)
        {
        }
示例#2
0
 public static RequestFont FromFile(string typefacePath, float sizeInPoints) => FromFile(typefacePath, Len.Pt(sizeInPoints));
示例#3
0
 public static Choice ChoiceFromFile(string typefacePath, float sizeInPoints) => ChoiceFromFile(typefacePath, Len.Pt(sizeInPoints));
示例#4
0
 public RequestFont(string fontFamily, float fontSizeInPts, ushort fontWeight = 400, RequestFontStyle cssFontStyle = RequestFontStyle.Regular)
     : this(fontFamily, Len.Pt(fontSizeInPts), fontWeight, cssFontStyle)
 {
 }