public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append(base.ToString());
if (this._stateNewStyles)
{
sb.Append(" Stating new styles. ");
}
if (this._stateMoveTo)
{
sb.AppendFormat(" Moving to: {0:d}/{0:d}", this._moveDeltaX, this._moveDeltaY);
}
if (this._stateFillStyle0)
{
if (this._fillStyle0 == 0)
{
sb.Append(" fill 0 style will set to none ");
}
else
{
sb.AppendFormat(" fill style 0 is : {0:d},", this._fillStyle0);
}
}
if (this._stateFillStyle1)
{
if (this._fillStyle1 == 0)
{
sb.Append(" fill 1 style will set to none ");
}
else
{
sb.AppendFormat(" fill style 1 is : {0:d},", this._fillStyle1);
}
}
if (this._stateLineStyle)
{
if (this._lineStyle == 0)
{
sb.Append(" line style will set to none ");
}
else
{
sb.AppendFormat(" line style is : {0:d},", this._fillStyle0);
}
}
return sb.ToString();
}