📄 rectangle.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
namespace AnotherPDFLib.XFA
{
/// <summary>
/// A content element that describes a single rendered rectangle.
/// </summary>
public class rectangle : graph
{
public rectangle() : base("rectangle") { }
protected corner _corner;
public corner corner
{
get
{
if (_corner == null)
{
_corner = new corner();
this.AddChild(_corner);
}
return _corner;
}
set
{
this.RemoveChild(_corner);
_corner = value;
this.AddChild(_corner);
}
}
protected fill _fill;
public fill fill
{
get
{
if (_fill == null)
{
_fill = new fill();
this.AddChild(_fill);
}
return _fill;
}
set
{
this.RemoveChild(_fill);
_fill = value;
this.AddChild(_fill);
}
}
protected edge _leftedge;
public edge leftedge
{
get
{
if (_leftedge == null)
{
_leftedge = new edge();
this.AddChild(_leftedge);
}
return _leftedge;
}
set
{
this.RemoveChild(_leftedge);
_leftedge = value;
this.AddChild(_leftedge);
}
}
protected edge _rightedge;
public edge rightedge
{
get
{
if (_rightedge == null)
{
_rightedge = new edge();
this.AddChild(_rightedge);
}
return _rightedge;
}
set
{
this.RemoveChild(_rightedge);
_rightedge = value;
this.AddChild(_rightedge);
}
}
protected edge _topedge;
public edge topedge
{
get
{
if (_topedge == null)
{
_topedge = new edge();
this.AddChild(_topedge);
}
return _topedge;
}
set
{
this.RemoveChild(_topedge);
_topedge = value;
this.AddChild(_topedge);
}
}
protected edge _bottomedge;
public edge bottomedge
{
get
{
if (_bottomedge == null)
{
_bottomedge = new edge();
this.AddChild(_bottomedge);
}
return _bottomedge;
}
set
{
this.RemoveChild(_bottomedge);
_bottomedge = value;
this.AddChild(_bottomedge);
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -