public override bool Equals(System.Object object_Renamed)
        {
            bool isEqual = false;

            if (object_Renamed is MorphLineStyle)
            {
                MorphLineStyle morphLineStyle = (MorphLineStyle)object_Renamed;

                if ((morphLineStyle.startWidth == this.startWidth) && (morphLineStyle.endWidth == this.endWidth) && (morphLineStyle.startCapsStyle == this.startCapsStyle) && (morphLineStyle.jointStyle == this.jointStyle) && (morphLineStyle.hasFill == this.hasFill) && (morphLineStyle.noHScale == this.noHScale) && (morphLineStyle.noVScale == this.noVScale) && (morphLineStyle.pixelHinting == this.pixelHinting) && (morphLineStyle.noClose == this.noClose) && (morphLineStyle.endCapsStyle == this.endCapsStyle) && (morphLineStyle.miterLimit == this.miterLimit) && morphLineStyle.fillType.Equals(this.fillType) && (morphLineStyle.startColor == this.startColor) && (morphLineStyle.endColor == this.endColor))
                {
                    isEqual = true;
                }
            }

            return(isEqual);
        }
		private MorphLineStyle[] decodeMorphLinestyles(int code)
		{
			int count = r.readUI8();
			if (count == 0xFF)
			{
				count = r.readUI16();
			}
			
			MorphLineStyle[] styles = new MorphLineStyle[count];
			
			for (int i = 0; i < count; i++)
			{
				MorphLineStyle s = new MorphLineStyle();
				s.startWidth = r.readUI16();
				s.endWidth = r.readUI16();
				if (code == Flash.Swf.TagValues.stagDefineMorphShape2)
				{
					s.startCapsStyle = r.readUBits(2);
					s.jointStyle = r.readUBits(2);
					s.hasFill = r.readBit();
					s.noHScale = r.readBit();
					s.noVScale = r.readBit();
					s.pixelHinting = r.readBit();
					r.readUBits(5); // reserved
					s.noClose = r.readBit();
					s.endCapsStyle = r.readUBits(2);
					if (s.jointStyle == 2)
					{
						s.miterLimit = r.readUI16();
					}
				}
				if (!s.hasFill)
				{
					s.startColor = decodeRGBA(r);
					s.endColor = decodeRGBA(r);
				}
				if (s.hasFill)
				{
					s.fillType = decodeMorphFillStyle(code);
				}
				
				styles[i] = s;
			}
			
			return styles;
		}