ONVIF::...Options(3)
πΈ ONVIF::...Options(3) πΈ
okay bestie, so this page lives in the User Contributed Perl Documentation section of the man pages (iykyk, the (3) means it's a library/perl module page), and the file itself is literally called ONVIF::...Options(3). The actual module we're talking about? ONVIF::Device::Types::OSDTextOptions. Yes the abbreviation in the filename is doing a lot of heavy lifting. Slay.
β¨ NAME β¨
ONVIF::Device::Types::OSDTextOptions β literally just that, that's the name, that's the whole vibe.
π DESCRIPTION π
So this one is a Perl data type class, right? It's the class for the XML Schema defined complexType called OSDTextOptions, and that type comes from the namespace http://www.onvif.org/ver10/schema. That's the whole description. Short. Iconic. No notes. π
π PROPERTIES
These are the properties you can get at with the get_PROPERTY / set_PROPERTY methods. The way that get_ and set_ are right there in the name, so you already know the assignment:
TypeFontSizeRangeDateFormatTimeFormatFontColorBackgroundColorExtension
seven of them, that's the whole list, no cap π«Ά
π¦ METHODS π¦
π new
Constructor, bestie. Like every constructor ever. And here's the data structure you may pass to new() β and I do mean may, this is the shape it's expecting:
{ # 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
},
},
β οΈ okay lowkey important, bestie β see that# One of the following elements.with# No occurrence checks yet, so be sure to pass just one...? That's the manpage telling you it does not check how many occurrences you pass. SoColorListandColorspaceRangeare an either/or situation, and you gotta pass just one of them yourself, because nothing is stopping you from messing that up. Be the main character who reads the comments. π
π AUTHOR π
Generated by SOAP::WSDL. That's it, that's the author line. A generator did this. Respect to the machine fr fr π«‘
π and that's the page, bestie β this is perl v5.42.3, dated 1980-01-01, from the User Contributed Perl Documentation. yes, 1980, we love a timeless queen πβ¨π
π¦ 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