Click or drag to resize

Ellipse Class

Ellipse class implements the IShape interface and is used to create an elliptical hotspot.
Inheritance Hierarchy
SystemObject
  Deltabit.WinFormsEllipse

Namespace:  Deltabit.WinForms
Assembly:  Deltabit.HotImage (in Deltabit.HotImage.dll) Version: 2.1.1.0 (2.1.1)
Syntax
public class Ellipse : IShape

The Ellipse type exposes the following members.

Constructors
  NameDescription
Public methodEllipse
Default constructor for an Ellipse shape.
Top
Properties
  NameDescription
Public propertyBoundingRec
Gets the rectangle that surrounds the boundary of the ellipse.
Public propertyCentre
Gets or sets the centre of the ellipse.
Public propertyHeightRadius
Gets or sets the radius of the ellipse on the Y axis.
Public propertyParentHotspot
Gets or sets the Parent Hotspot that owns the shape.
Public propertyWidthRadius
Gets or sets the radius of the ellipse on the X axis.
Top
Methods
  NameDescription
Public methodClone
Creates a new instance of the ellipse and copies the data to the new instance.
Public methodCreatePolygon
Converts the ellipse to a polygon representation of the shape.
Public methodDraw
This method draws the elliptical hotspot shape onto the HotImage.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMidpoint
Computes the midpoint of a shape.
Public methodMove
Moves the shape to a new position.
Public methodPointInShape
Determines if a point falls within the given ellipse.
Public methodRescale
Rescales and repositions the ellipse according to the parameters.
Public methodShapeFromString
Converts a string representation of an ellipse to to the ellipse object and assigns it to this instance.
Public methodShapeToString
Converts the current ellipse to a string representation of the shape.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also