ONVIF::...leRange(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

✨ 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