Method GetSpacerRectangles
GetSpacerRectangles(out RectD, out RectD)
Calculates and retrieves the bounding rectangles for the left-top and right-bottom spacer elements based on the current thumb bounds and orientation.
public virtual void GetSpacerRectangles(out RectD leftTop, out RectD rightBottom)
Parameters
leftTopRectDWhen this method returns, contains the bounding rectangle for the left-top spacer element. The dimensions and position are calculated based on the thumb's bounds and the current orientation.
rightBottomRectDWhen this method returns, contains the bounding rectangle for the right-bottom spacer element. The dimensions and position are calculated based on the thumb's bounds and the current orientation.
Remarks
The method adjusts the spacer rectangles' dimensions and positions depending on whether the layout is horizontal or vertical. The spacers' sizes are determined as a percentage of the thumb's dimensions, and their positions are aligned relative to the thumb's center.