Rect.Stretch (gb.clipper)

Static Function Stretch ( Width As Integer, Height As Integer, Frame As Rect [ , Alignment As Integer ] ) As Rect

Поскольку 3.9

Stretch a Width × Height rectangle so that it fits the Frame rectangle, align it according to the Alignment specified, and return its final position.

  • Width is the width of the rectangle.

  • Height is the height of the rectangle.

  • Frame is the frame the rectangle must fit in.

  • Alignment is the final vertical and horizontal alignment of the rectangle inside the frame.