graph.cs

来自「PDF文件格式解析库源代码」· CS 代码 · 共 42 行

CS
42
字号
using System;
using System.Collections.Generic;
using System.Text;

namespace AnotherPDFLib.XFA
{
	public abstract class graph : element_id
	{
		public graph(string name) : base(name) { }

		public hand hand
		{
			set
			{
				this.SetAttribute("hand", value);
			}
		}

		protected edge _edge;

		public edge edge
		{
			get
			{
				if (_edge == null)
				{
					_edge = new edge();
					this.AddChild(_edge);
				}
				return _edge;
			}
			set
			{
				this.RemoveChild(_edge);
				_edge = value;
				this.AddChild(_edge);
			}
		}

	}
}

⌨️ 快捷键说明

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