using System;
using UnityEngine;
namespace XCharts.Runtime
{
    /// 
    /// the comment mark style.
    /// ||注解项区域样式。
    /// 
    [Serializable]
    public class CommentMarkStyle : ChildComponent
    {
        [SerializeField] private bool m_Show = true;
        [SerializeField] private LineStyle m_LineStyle;
        /// 
        /// Set this to false to prevent this comment item from showing.
        /// ||是否显示当前注解项。
        /// 
        public bool show { get { return m_Show; } set { if (PropertyUtil.SetStruct(ref m_Show, value)) SetVerticesDirty(); } }
        /// 
        /// line style of comment mark area.
        /// ||线条样式。
        /// 
        public LineStyle lineStyle { get { return m_LineStyle; } set { if (PropertyUtil.SetClass(ref m_LineStyle, value)) SetVerticesDirty(); } }
    }
}