 | BoxShapeCloneCore Method |
Makes the instance a clone (deep copy) of the specified
Shape.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntaxprotected override void CloneCore(
Shape sourceShape
)
Protected Overrides Sub CloneCore (
sourceShape As Shape
)
protected:
virtual void CloneCore(
Shape^ sourceShape
) override
abstract CloneCore :
sourceShape : Shape -> unit
override CloneCore :
sourceShape : Shape -> unit
Parameters
- sourceShape
- Type: DigitalRune.Geometry.ShapesShape
The object to clone.
RemarksNotes 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.
See Also