public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext) { base.CopyFrom(from, cloneContext); DxfMText dxfMtext = (DxfMText)from; this.string_1 = dxfMtext.string_1; this.Style = Class906.GetTextStyle(cloneContext, dxfMtext.Style); this.point3D_0 = dxfMtext.point3D_0; this.double_1 = dxfMtext.double_1; this.double_2 = dxfMtext.double_2; this.double_3 = dxfMtext.double_3; this.attachmentPoint_0 = dxfMtext.attachmentPoint_0; this.drawingDirection_0 = dxfMtext.drawingDirection_0; this.vector3D_0 = dxfMtext.vector3D_0; this.vector3D_1 = dxfMtext.vector3D_1; this.lineSpacingStyle_0 = dxfMtext.lineSpacingStyle_0; this.double_4 = dxfMtext.double_4; this.backgroundFillFlags_0 = dxfMtext.backgroundFillFlags_0; if (dxfMtext.backgroundFillInfo_0 == null) { this.backgroundFillInfo_0 = (BackgroundFillInfo)null; } else { this.backgroundFillInfo_0 = dxfMtext.backgroundFillInfo_0.Clone(cloneContext); } }
public void ResolveReferences(CloneContext context) { this.dxfDimensionStyle_1.ArrowBlock = Class906.smethod_0(context, this.dxfDimensionStyle_0.ArrowBlock, false); this.dxfDimensionStyle_1.FirstArrowBlock = Class906.smethod_0(context, this.dxfDimensionStyle_0.FirstArrowBlock, false); this.dxfDimensionStyle_1.SecondArrowBlock = Class906.smethod_0(context, this.dxfDimensionStyle_0.SecondArrowBlock, false); this.dxfDimensionStyle_1.LeaderArrowBlock = Class906.smethod_0(context, this.dxfDimensionStyle_0.LeaderArrowBlock, false); this.dxfDimensionStyle_1.TextStyle = Class906.GetTextStyle(context, this.dxfDimensionStyle_0.TextStyleInternal); this.dxfDimensionStyle_1.DimensionLineLineType = Class906.GetLineType(context, this.dxfDimensionStyle_0.DimensionLineLineType); this.dxfDimensionStyle_1.FirstExtensionLineLineType = Class906.GetLineType(context, this.dxfDimensionStyle_0.FirstExtensionLineLineType); this.dxfDimensionStyle_1.SecondExtensionLineLineType = Class906.GetLineType(context, this.dxfDimensionStyle_0.SecondExtensionLineLineType); }
public void CopyFrom(DxfLineType.Element from, CloneContext cloneContext) { this.double_0 = from.double_0; this.elementType_0 = from.elementType_0; this.short_0 = from.short_0; this.TextStyle = Class906.GetTextStyle(cloneContext, from.TextStyle); this.double_1 = from.double_1; this.double_2 = from.double_2; this.vector2D_0 = from.vector2D_0; this.string_0 = from.string_0; cloneContext.CloneBuilders.Add((ICloneBuilder) new DxfLineType.Element.Class467(this)); }
public void CopyFrom(Class984 from, CloneContext cloneContext) { this.TextStyle = Class906.GetTextStyle(cloneContext, from.TextStyle); this.nullable_0 = from.nullable_0; this.nullable_1 = from.nullable_1; this.nullable_2 = from.nullable_2; this.nullable_3 = from.nullable_3; this.nullable_4 = from.nullable_4; this.dxfValueFormat_0 = from.dxfValueFormat_0 == null ? (DxfValueFormat)null : from.dxfValueFormat_0.Clone(); this.dxfTableBorderOverrides_0.CopyFrom(from.dxfTableBorderOverrides_0, cloneContext); this.dxfTableBorderOverrides_1.CopyFrom(from.dxfTableBorderOverrides_1, cloneContext); this.dxfTableBorderOverrides_2.CopyFrom(from.dxfTableBorderOverrides_2, cloneContext); this.dxfTableBorderOverrides_3.CopyFrom(from.dxfTableBorderOverrides_3, cloneContext); }
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; }
private void method_8(CloneContext context, DxfMLeaderStyle from) { this.contentType_0 = from.contentType_0; this.drawMLeaderOrder_0 = from.drawMLeaderOrder_0; this.drawLeaderOrder_0 = from.drawLeaderOrder_0; this.int_0 = from.int_0; this.double_0 = from.double_0; this.double_1 = from.double_1; this.leaderType_0 = from.leaderType_0; this.color_0 = from.color_0; this.LineType = Class906.GetLineType(context, from.LineType); this.int_1 = from.int_1; this.bool_0 = from.bool_0; this.double_2 = from.double_2; this.bool_1 = from.bool_1; this.double_3 = from.double_3; this.string_0 = from.string_0; this.ArrowHeadBlock = Class906.smethod_0(context, from.ArrowHeadBlock, false); this.double_4 = from.double_4; this.string_1 = from.string_1; this.TextStyle = Class906.GetTextStyle(context, from.TextStyle); this.textAttachment_0 = from.textAttachment_0; this.textAngleType_0 = from.textAngleType_0; this.textAlignment_0 = from.textAlignment_0; this.textAttachment_1 = from.textAttachment_1; this.color_1 = from.color_1; this.double_5 = from.double_5; this.bool_2 = from.bool_2; this.bool_3 = from.bool_3; this.double_6 = from.double_6; this.Block = Class906.smethod_0(context, from.Block, false); this.color_2 = from.color_2; this.vector3D_0 = from.vector3D_0; this.bool_4 = from.bool_4; this.double_7 = from.double_7; this.bool_5 = from.bool_5; this.blockConnectionType_0 = from.blockConnectionType_0; this.double_8 = from.double_8; this.bool_6 = from.bool_6; this.bool_7 = from.bool_7; this.double_9 = from.double_9; this.textAttachmentDirection_0 = from.textAttachmentDirection_0; this.textAttachment_2 = from.textAttachment_2; this.textAttachment_3 = from.textAttachment_3; this.bool_8 = from.bool_8; }
public void Visit(DxfTextStyle value) { this.dxfHandledObject_0 = (DxfHandledObject)Class906.GetTextStyle(this.cloneContext_0, value); }