qc.Node.setStretch

Prototype

  • void setStretch(number left, number right, number top, number bottom)

Parameters

Parameter Type Description
left number Distance left.
right number Distance right.
top number Distance top.
bottom number Distance bottom.

Description

Makes the RectTransform calculated rect be a given size on the specified axis.