RectF.Stretch (gb.clipper)

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

Desde 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.