Click or drag to resize
DigitalRuneShapeClone Method
Creates a new Shape that is a clone (deep copy) of the current instance.

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public Shape Clone()

Return Value

Type: Shape
A new Shape that is a clone (deep copy) of the current instance.
Remarks
Notes to Inheritors: The method Clone calls CreateInstanceCore which is responsible for creating a new instance of the Shape derived class and CloneCore(Shape) to create a copy of the current instance. Classes that derive from Shape need to implement CreateInstanceCore and CloneCore(Shape).
See Also