Makes the instance a clone (deep copy) of the specified Shape.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.9.0.0 (1.9.3.9490)
Syntax
| C# |
|---|
protected abstract void CloneCore( Shape sourceShape ) |
| Visual Basic |
|---|
Protected MustOverride Sub CloneCore ( _ sourceShape As Shape _ ) |
| Visual C++ |
|---|
protected: virtual void CloneCore( Shape^ sourceShape ) abstract |
Parameters
- sourceShape
- Type: DigitalRune.Geometry.Shapes..::..Shape
The object to clone.
Remarks
Notes to Inheritors: Every Shape derived class must implement
this method. A typical implementation is to call base.CloneCore(this) to copy all
properties of the base class and then copy all properties of the derived class.