22.12.2013 Views

Roku Object Reference - imaginArt

Roku Object Reference - imaginArt

Roku Object Reference - imaginArt

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

oRectangle ()<br />

This object is created with several parameters:<br />

• Create<strong>Object</strong>("roRectangle", x As Integer, y As Integer, width As<br />

Integer, height As Integer)<br />

The interface provides:<br />

• SetX(x As Integer) As Void<br />

• SetY(y As Integer) As Void<br />

• SetWidth(width As Integer) As Void<br />

• SetHeight(height As Integer) As Void<br />

• GetX() As Integer<br />

• GetY() As Integer<br />

• GetWidth() As Integer<br />

• GetHeight() As Integer<br />

SetRectangle calls honor the view mode/aspect ratio conversion mode setup by the user. If the user has set<br />

the videoplayer to letterbox the video, it will do so if the video doesn't fit exactly in the new rectangle.<br />

43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!