HTML::O...TRegion(3)
π 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 & LICENSE πΈ
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
- alpine 3.24: perl-html-object-doc 0.6.0-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms