STOPS THE AUTOMATIC RESIZING OF THE PICTURE DISPLAYED BY THE SYSTEM OBJECT NUMBER N
ACTION
The command STRETCH_OFF N stops the automatic resizing of the picture displayed by the system object designated by its number N : the displayed picture takes its own shape.
The system object is a PICTURE or a SCENE2D.
Remark: the automatic resizing is started by the command STRETCH_ON.
SYNTAX:
STRETCH_OFF N
USE ERROR EXAMPLE
rem create a SCENE2D with default position and dimensions
scene2D 1
rem load a background picture
file_load 1,"My 2D world.bmp"
rem start the automatic resizing
stretch_on 1
rem change the dimensions of SCENE2D
width 1,600
height 1,400
rem wait for 1 second
wait 1000
rem stop the automatic resizing
stretch_off 1
STRETCH_OFF
STRETCH_OFF N
SEE ALSO
STRETCH_ON