chartelement.cs

来自「Open Flash Chart is a program for creati」· CS 代码 · 共 34 行

CS
34
字号
using System;
using System.Collections.Generic;
using System.Text;
using JsonFx.Json;


namespace OpenFlashChart
{
    public  class ChartElement
    {
         private string text;
        private string style;
        [JsonProperty("text")]
        public virtual string Text
        {
            set { this.text = value; }
            get { return this.text; }
        }
        [JsonProperty("style")]
        public string Style
        {
            set { style = value; }
            get
            {
                if (style == null)
                    style = "{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}";
                return this.style;
            }
            //"{font-size: 20px; color:#0000ff; font-family: Verdana; text-align: center;}";		

        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?