RelativePoint Members
Include Protected Members
Include Inherited Members
Defines a point that consists of an X and Y location and a RelativePosition class that defines the relationship of those coordinates to some other object.
The RelativePoint type exposes the following members.
Constructors
Name
Description
Overloaded. Initializes a new instance of the RelativePoint class.
Top
Methods
Name
Description
Overloaded. Specifies whether RelativePoint objects are equal.
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Converts the specified Point to a RelativePoint that is relative to the top left corner.
Returns the hash code for this instance. (Overrides ValueType.GetHashCode().)
Gets the type of the current instance. (Inherited from Object.)
Creates a shallow copy of the current Object. (Inherited from Object.)
Returns the fully qualified type name of this instance. (Inherited from ValueType.)
Top
Operators
Name
Description
Compares two RelativePoint structures. The result specifies whether the values of the Position, X, and Y properties of the two RelativePoint structures are equal.
Converts the specified Point structure to a RelativePoint structure.
Compares two RelativePoint structures. The result specifies whether the values of the Position, X, or Y properties of the two RelativePoint structures are not equal.
Top
Properties
Name
Description
Gets or sets the relative position of the RelativePoint structure.
Gets or sets the X coordinate of the RelativePoint structure.
Gets or sets the Y coordinate of the RelativePoint structure.
Top