HTML::O...TRegion(3)

πŸ“¦ version 0.6.0, in alpine 3.24

πŸ’– NAME πŸ’–

HTML::Object::DOM::VTTRegion β€” HTML Object DOM VTTRegion Class ✨

This is the HTML::O...TRegion(3) page from the User Contributed Perl Documentation, and bestie, it is literally all about the VTTRegion class. 🫢

✨ SYNOPSIS ✨

use HTML::Object::DOM::VTTRegion;
my $region = HTML::Object::DOM::VTTRegion->new ||
    die( HTML::Object::DOM::VTTRegion->error, "\n" );

πŸ”₯ VERSION πŸ”₯

v0.2.0 β€” periodt. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

The VTTRegion interface β€” part of the API for handling WebVTT (text tracks on media presentations) β€” describes a portion of the video to render a HTML::Object::DOM::VTTCue onto. 🎬✨

πŸ‘‘ PROPERTIES πŸ‘‘

πŸ“ id

Sets or gets a string that identifies the region, as a scalar object. 🏷️

See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/id

🌸 lines

Sets or gets a double representing the height of the region, in number of lines. πŸ“

See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/lines

πŸŽ€ regionAnchorX

Sets or gets a double representing the region anchor X offset, as a percentage of the region. 🧭

See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/regionAnchorX

πŸ¦‹ regionAnchorY

Sets or gets a double representing the region anchor Y offset, as a percentage of the region. 🧭

See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/regionAnchorY

πŸ’« scroll

Sets or gets an enum representing how adding new cues will move existing cues, as a scalar object. πŸ“œ

See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/scroll

🌈 viewportAnchorX

Sets or gets a double representing the viewport anchor X offset, as a percentage of the video. πŸŽ₯

See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/viewportAnchorX

⭐ viewportAnchorY

Sets or gets a double representing the viewport anchor Y offset, as a percentage of the video. πŸŽ₯

See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/viewportAnchorY

🧚 width

Sets or gets a double representing the width of the region, as a percentage of the video. πŸ“

See also Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion/width

🌈 METHODS 🌈

There are no method. 😭 Yep, that is the whole methods section, bestie. Zero methods to list. No cap. πŸ’€

πŸ’œ AUTHOR πŸ’œ

Jacques Deguest <jack@deguest.jp> β€” iconic. πŸ‘‘

⭐ SEE ALSO ⭐

Mozilla documentation: https://developer.mozilla.org/en-US/docs/Web/API/VTTRegion

Copyright(c) 2021 DEGUEST Pte. Ltd.

All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


πŸ’… That's the whole vibe. Signing off from the HTML::O...TRegion(3) page β€” source/version perl v5.42.2, dated 2026-02-15. Stay slay, bestie! πŸ’–βœ¨

πŸ“¦ where this page comes from