The Ellipse class creates an elliptical geometric shape.


Namespace: AspMap
Assembly: AspMapNET (in AspMapNET.dll)

Syntax

Visual Basic (Declaration)
Public Class Ellipse
    Inherits Shape
    Implements IDisposable
C#
public class Ellipse : Shape, IDisposable
C++
ref class Ellipse : Shape, IDisposable
J#
public class Ellipse extends Shape implements IDisposable
JScript
public class Ellipse extends Shape, IDisposable

Example

 Copy Code
// creates an ellipse
Ellipse ellipse = new Ellipse(2.35099, 48.85676, 3.0, 4.0);

// creates a circle
Ellipse ellipse = new Ellipse(2.35099, 48.85676, 4.0, 4.0);

Inheritance Hierarchy

System.Object
   AspMap.Shape
      AspMap.Ellipse

Thread Safety

Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

See Also