コード例 #1
0
        public override string ToString()
        {
            StringBuilder builder = new StringBuilder();

            builder.AppendLine("{");
            builder.AppendFormat("\t\"smallMetrics\": {0},\n", smallMetrics.ToString().Replace("\n", "\n\t"));
            builder.AppendFormat("\t\"imageData.Length\": {0}\n", imageData.Length);
            builder.Append("}");
            return(builder.ToString());
        }
コード例 #2
0
        public override string ToString()
        {
            StringBuilder builder = new StringBuilder();

            builder.AppendLine("{");
            builder.AppendFormat("\t\"glyphMetrics\": {0},\n", glyphMetrics.ToString().Replace("\n", "\n\t"));
            builder.AppendFormat("\t\"dataLen\": {0}\n", dataLen);
            builder.Append("}");
            return(builder.ToString());
        }
コード例 #3
0
        public override string ToString()
        {
            StringBuilder builder = new StringBuilder();

            builder.AppendLine("{");
            builder.AppendFormat("\t\"smallMetrics\": {0},\n", smallMetrics.ToString().Replace("\n", "\n\t"));
            builder.AppendFormat("\t\"pad\": {0}\n", pad);
            builder.AppendFormat("\t\"numComponents\": {0}\n", numComponents);
            builder.Append("}");
            return(builder.ToString());
        }