public override IGraphCloneable Clone(CloneContext cloneContext) { DxfShape dxfShape = (DxfShape)cloneContext.GetExistingClone((IGraphCloneable)this); if (dxfShape == null) { dxfShape = new DxfShape(); cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)dxfShape); dxfShape.CopyFrom((DxfHandledObject)this, cloneContext); } return((IGraphCloneable)dxfShape); }
public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext) { base.CopyFrom(from, cloneContext); DxfShape dxfShape = (DxfShape)from; this.TextStyle = Class906.GetTextStyle(cloneContext, dxfShape.TextStyle); this.ushort_0 = dxfShape.ushort_0; this.double_1 = dxfShape.double_1; this.point3D_0 = dxfShape.point3D_0; this.double_2 = dxfShape.double_2; this.double_3 = dxfShape.double_3; this.double_4 = dxfShape.double_4; this.double_5 = dxfShape.double_5; this.vector3D_0 = dxfShape.vector3D_0; this.string_0 = dxfShape.string_0; }
public virtual void Visit(DxfShape shape) { }
public virtual void Visit(DxfShape shape) { this.VisitEntity((DxfEntity)shape); }