public void SetArea(Rect r0, Rect r1)
{
r1.yMin = r0.yMax;
Rect unionRect = ToolSet.Union(ref r0, ref r1);
r0.position -= unionRect.position;
r1.position -= unionRect.position;
shape.SetXY(unionRect.x, unionRect.y);
shape.SetSize(unionRect.width, unionRect.height);
if (_points8 == null)
{
_points8 = new Vector2[8];
}
_points8[0] = new Vector2(r0.xMin, r0.yMax);
_points8[1] = new Vector2(r0.xMin, r0.yMin);
_points8[2] = new Vector2(r0.xMax, r0.yMin);
_points8[3] = new Vector2(r0.xMax, r0.yMax);
_points8[4] = new Vector2(r1.xMax, r1.yMin);
_points8[5] = new Vector2(r1.xMax, r1.yMax);
_points8[6] = new Vector2(r1.xMin, r1.yMax);
_points8[7] = new Vector2(r1.xMin, r1.yMin);
shape.DrawPolygon(_owner.htmlParseOptions.linkBgColor, _points8);
}