Name | Description | |
---|---|---|
Spot Constructor | Overloaded. |
The following tables list the members exposed by Spot.
Name | Description | |
---|---|---|
Spot Constructor | Overloaded. |
Name | Description | |
---|---|---|
AllSides | The set of points on all sides of the bounding rectangle. | |
BottomCenter | The specific point at the middle of the bottom side of the bounding rectangle. | |
BottomLeft | The specific point at the bottom-left corner of the bounding rectangle. | |
BottomLeftSides | The set of points at the left or bottom sides of the bounding rectangle. | |
BottomRight | The specific point at the bottom-right corner of the bounding rectangle. | |
BottomRightSides | The set of points at the right or bottom sides of the bounding rectangle. | |
BottomSide | The set of points at the bottom side of the bounding rectangle. | |
Center | The specific point at the very center of the bounding rectangle. | |
Default | Use this Spot value to indicate that the real spot value is elsewhere. | |
LeftRightSides | The set of points at the left or right sides of the bounding rectangle. | |
LeftSide | The set of points at the left side of the bounding rectangle. | |
MiddleBottom | A synonym for BottomCenter. | |
MiddleLeft | The specific point at the middle of the left side of the bounding rectangle. | |
MiddleRight | The specific point at the middle of the right side of the bounding rectangle. | |
MiddleTop | A synonym for TopCenter. | |
None | Use this Spot value to indicate no particular spot -- code looking for a particular point on an element will need to do their own calculations to determine the desired point depending on the circumstances. | |
NotBottomSide | The set of points on all sides of the bounding rectangle except the bottom side. | |
NotLeftSide | The set of points on all sides of the bounding rectangle except the left side. | |
NotRightSide | The set of points on all sides of the bounding rectangle except the right side. | |
NotTopSide | The set of points on all sides of the bounding rectangle except the top side. | |
RightSide | The set of points at the right side of the bounding rectangle. | |
TopBottomSides | The set of points at the top or bottom sides of the bounding rectangle. | |
TopCenter | The specific point at the center of the top side of the bounding rectangle. | |
TopLeft | The specific point at the top-left corner of the bounding rectangle. | |
TopLeftSides | The set of points at the top or left sides of the bounding rectangle. | |
TopRight | The specific point at the top-right corner of the bounding rectangle. | |
TopRightSides | The set of points at the top or right sides of the bounding rectangle. | |
TopSide | The set of points at the top side of the bounding rectangle. |
Name | Description | |
---|---|---|
IsDefault | True if and only if this spot is equal to Default. | |
IsNone | True if and only if this spot is equal to None. | |
IsNoSpot | True if this is an unspecific special spot, such as None or one of the sides. | |
IsNotNone | True if and only if this spot is different than None. | |
IsSide | True if this is a special spot referring to one (or more) of the sides. | |
IsSpot | True if this spot represents a specific spot, not a side nor None. | |
OffsetX | The final additional offset along the X-axis. | |
OffsetY | The final additional offset along the Y-axis. | |
Opposite | Return a new spot that is opposite this spot. | |
WithoutOffset | Return a new spot with the same X and Y values, but with offsets of zero. | |
X | The fractional point along the X-axis. | |
Y | The fractional point along the Y-axis. |
Name | Description | |
---|---|---|
Equals | Overloaded. Two spots are equal if all four property values are the same (X, Y, OffsetX, OffsetY). | |
GetHashCode | The hash code is a combination of all four property values. | |
GetSide | Produce Spot that denotes one or more sides, based on which sides should be included. | |
IncludesSide | This predicate is true if this Spot is a side that includes the side(s) given by side. | |
Parse | Overloaded. Convert a string into a Spot value. | |
PointInRect | Given a rectangle, return the specific point in or near the rectangle that this spot is at. | |
RectForPoint | Given a point and the size of the desired rectangle, return the rectangle for which this spot is at that point. | |
ToString | Overloaded. Produce a string representation of a Spot. |
Equality | Two spots are equal if all four property values are the same (X, Y, OffsetX, OffsetY). |
Inequality | Inequality of spots. |