region position and size check

Asked by jian

Hi, Alex

The topoffset, leftoffset, width and height of a region can be set in region option with a very large number, can be allowed to set far beyond the resolution.
For example, for resolution 1920x1080, I can set the leftoffset to 30000, is there any special need or any special consideration?

Thanks.
Jianjian

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Harrington
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

Absolutely. It's sometimes desirable to put a region off the visible screen
or overhanging the edge. For example if you have a video and just want to
hear the sound or an image or website that needs to crop

Revision history for this message
jian (huangjian0209) said :
#2

Thanks Alex

If you want to hear sound, you can just set the width, height to 0, 0, and put the video at position(0,0), I tested mp3 as backgound sound before in this way.

If there is a region in very far position, the preview layout may not work properly, and also it's not very easy to find a this kind of region.

Thanks.
Jianjian

Revision history for this message
Best Alex Harrington (alexharrington) said :
#3

If you put a limit someone will come along and want a webpage that
overhangs by more, or will define a custom resolution that exceeds the
limit you set

Revision history for this message
jian (huangjian0209) said :
#4

Thanks Alex Harrington, that solved my question.