Click or drag to resize

Rectangle Class

Rectangle implements the IShape interface and is used to create a rectangular hotspot.
Inheritance Hierarchy
SystemObject
  Deltabit.WinFormsRectangle

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

The Rectangle type exposes the following members.

Constructors
  NameDescription
Public methodRectangle
Initializes a new instance of the Rectangle class
Top
Properties
  NameDescription
Public propertyBoundingRec
Gets the rectangle that surrounds the boundry of the shape.
Public propertyLeftUpper
The left upper point of the rectangle.
Public propertyParentHotspot
Gets or sets the parent hotspot for the rectangle.
Public propertyRightLower
Right lower point of the rectangle.
Top
Methods
  NameDescription
Public methodClone
Creates a new instance of the rectangle and copies the data to the new instance.
Public methodCreatePolygon
Creates four points of the polygon surrounding the rectangle.
Public methodDraw
This method draws the rectangular 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 rectangle.
Public methodRescale
Rescales and repositions the rectangle according to the parameters.
Public methodShapeFromString
Converts a string representation of a rectangle to the rectangle object and assigns it to this instance.
Public methodShapeToString
Converts the rectangle to a string representation.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also