ONVIF:...ptions(3pm)

πŸ“¦
version 1.36.37 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– ONVIF::Device::Types::OSDTextOptions β€” the manual page, but make it make sense

okay bestie, welcome to the ONVIF:...ptions(3pm) page 🌸 this is one of those User Contributed Perl Documentation joints, and it's literally just a little Perl data type class. let's get into it.


✨ NAME ✨

ONVIF::Device::Types::OSDTextOptions β€” that's the whole name, that's the whole vibe πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so this is a Perl data type class for the XML Schema defined complexType OSDTextOptions, and it lives in the namespace http://www.onvif.org/ver10/schema. no cap, that's the whole description. it's giving "generated code, no thoughts, just vibes" and honestly? we respect it πŸ‘‘


🌈 PROPERTIES 🌈

these are the properties you can touch, and the way you touch them is with get_PROPERTY / set_PROPERTY methods. yes, that's the pattern. iconic.

  • Type
  • FontSizeRange
  • DateFormat
  • TimeFormat
  • FontColor
  • BackgroundColor
  • Extension

seven of them. slay. that's the whole list, we're not skipping a single one 🫢


πŸŽ€ METHODS πŸŽ€

⭐ new

Constructor energy ✨ it's the new method, and here's the data structure you may pass to new() β€” and yes, we're keeping every single line of this because the details are the moment:

 { # ONVIF::Device::Types::OSDTextOptions
   Type =>  $some_value, # string
   FontSizeRange =>  { # ONVIF::Device::Types::IntRange
     Min =>  $some_value, # int
     Max =>  $some_value, # int
   },
   DateFormat =>  $some_value, # string
   TimeFormat =>  $some_value, # string
   FontColor =>  { # ONVIF::Device::Types::OSDColorOptions
     Color =>      { # ONVIF::Device::Types::ColorOptions
       # One of the following elements.
       # No occurrence checks yet, so be sure to pass just one...
       ColorList => ,
       ColorspaceRange =>  { # ONVIF::Device::Types::ColorspaceRange
         X =>  { # ONVIF::Device::Types::FloatRange
           Min =>  $some_value, # float
           Max =>  $some_value, # float
         },
         Y =>  { # ONVIF::Device::Types::FloatRange
           Min =>  $some_value, # float
           Max =>  $some_value, # float
         },
         Z =>  { # ONVIF::Device::Types::FloatRange
           Min =>  $some_value, # float
           Max =>  $some_value, # float
         },
         Colorspace =>  $some_value, # anyURI
       },
     },
     Transparent =>  { # ONVIF::Device::Types::IntRange
       Min =>  $some_value, # int
       Max =>  $some_value, # int
     },
     Extension =>  { # ONVIF::Device::Types::OSDColorOptionsExtension
     },
   },
   BackgroundColor =>  { # ONVIF::Device::Types::OSDColorOptions
     Color =>      { # ONVIF::Device::Types::ColorOptions
       # One of the following elements.
       # No occurrence checks yet, so be sure to pass just one...
       ColorList => ,
       ColorspaceRange =>  { # ONVIF::Device::Types::ColorspaceRange
         X =>  { # ONVIF::Device::Types::FloatRange
           Min =>  $some_value, # float
           Max =>  $some_value, # float
         },
         Y =>  { # ONVIF::Device::Types::FloatRange
           Min =>  $some_value, # float
           Max =>  $some_value, # float
         },
         Z =>  { # ONVIF::Device::Types::FloatRange
           Min =>  $some_value, # float
           Max =>  $some_value, # float
         },
         Colorspace =>  $some_value, # anyURI
       },
     },
     Transparent =>  { # ONVIF::Device::Types::IntRange
       Min =>  $some_value, # int
       Max =>  $some_value, # int
     },
     Extension =>  { # ONVIF::Device::Types::OSDColorOptionsExtension
     },
   },
   Extension =>  { # ONVIF::Device::Types::OSDTextOptionsExtension
   },
 },
🚨 bestie, read the little comment in there, it's important: ColorList and ColorspaceRange are under "One of the following elements." and it says No occurrence checks yet, so be sure to pass just one... β€” so like, nobody's stopping you from passing both, but don't. pass just one. the code will not catch you. i will know. πŸ‘€

πŸ’œ AUTHOR πŸ’œ

Generated by SOAP::WSDL β€” that's it, that's the author. the machine did this one. no human took credit, and honestly, relatable 😭


and that's a wrap on the ONVIF:...ptions(3pm) page, bestie!! πŸ’–βœ¨

this came from User Contributed Perl Documentation, version perl v5.40.1, dated 2026-02-01, and it's filed under ONVIF:...ptions(3pm) if you ever need to find it again. go forth and set your OSD text options. periodt πŸŽ€πŸ¦‹πŸ’…

πŸ“¦ where this page comes from