Click or drag to resize
DigitalRuneLineShapeCreateInstanceCore Method
When implemented in a derived class, creates a new instance of the Shape derived class.

Namespace: DigitalRune.Geometry.Shapes
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
protected override Shape CreateInstanceCore()

Return Value

Type: Shape
The new instance.
Remarks

Do not call this method directly (except when calling base in an implementation). This method is called internally by the Clone method whenever a new instance of the Shape is created.

Notes to Inheritors: Every Shape derived class must implement this method. A typical implementation is to simply call the default constructor and return the result.

See Also