The OffsetPositionCalculator type exposes the following members.

Constructors

  NameDescription
OffsetPositionCalculatorOverloaded.

Methods

  NameDescription
GetPosition
Returns a Point that is derived from the given Rect according to the values of the XFactor and YFactor properties.

Properties

  NameDescription
XFactor
Gets or sets a value that is ideally but not restricted to the range of 0-1. This is used to find the x position derived from the width of the bounds given to the GetPosition(Rect) method.
XOffset
Gets or sets the offset that contributes to the x value of the position of this OffsetPositionCalculator. This value is added after the XFactor has determined the initial x value.
YFactor
Gets or sets a value that is ideally but not restricted to the range of 0-1. This is used to find the y position derived from the height of the bounds given to the GetPosition(Rect) method.
YOffset
Gets or sets the offset that contributes to the y value of the position of this OffsetPositionCalculator. This value is added after the YFactor has determined the initial y value.

See Also