ONVIF::...leRange(3)
β¨ NAME β¨
ONVIF::Media::Types::IntRectangleRange β bestie, this is the Perl data type class for the XML Schema complexType IntRectangleRange, straight out of the namespace http://www.onvif.org/ver10/schema. (The header up top trims it down to ONVIF::...leRange(3) and files it under User Contributed Perl Documentation β that's just the manpage being β¨demureβ¨ about long names, iykyk.)
π DESCRIPTION π
Okay so picture this: it's a range of a rectangle. The rectangle itself is defined by its lower left corner position and size. Units are pixel. That's the whole vibe. π
This class is generated by SOAP::WSDL, so it's giving "I was made by a machine but I still serve" energy. You don't hand-craft it, you just use it. Slay.
πΈ PROPERTIES πΈ
These properties are all accessible via get_PROPERTY / set_PROPERTY methods β that's the pattern, no cap:
XRangeβYRangeβWidthRangeβHeightRangeβ
Four ranges, all iconic, all necessary. The rectangle would literally not exist without them. π
π οΈ METHODS π οΈ
π¦ new
Constructor. Bestie, here's the data structure you may pass to new() β copy it exactly, don't freestyle:
{ # ONVIF::Media::Types::IntRectangleRange
XRange => { # ONVIF::Media::Types::IntRange
Min => $some_value, # int
Max => $some_value, # int
},
YRange => { # ONVIF::Media::Types::IntRange
Min => $some_value, # int
Max => $some_value, # int
},
WidthRange => { # ONVIF::Media::Types::IntRange
Min => $some_value, # int
Max => $some_value, # int
},
HeightRange => { # ONVIF::Media::Types::IntRange
Min => $some_value, # int
Max => $some_value, # int
},
},
See how each one nests an ONVIF::Media::Types::IntRange with a Min and a Max, both int? It's giving "and I oop, it's recursive-ish" β but lowkey it's just four little IntRange objects doing their thing. $some_value is your placeholder, you fill it in. π
Heads up: those comments (# int) are telling you the type of the value β integers, queen. Don't go throwing strings in there and acting surprised.
π AUTHOR π
Generated by SOAP::WSDL. It didn't choose the thug life, the thug life was generated for it. π«Ά
This little masterpiece comes to you courtesy of perl v5.42.3 on 1980-01-01, with the ONVIF::...leRange(3) header and footer doing their cute little bookend thing. Bye bestie, go make some rectangles πβ¨π
π¦ where this page comes from
- nixpkgs unstable: zoneminder 1.38.6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms