ONVIF:...ptions(3pm)
π ONVIF::Media::Types::OSDColorOptions π
okay bestie, welcome to the manual page for ONVIF::Media::Types::OSDColorOptions, living in the 3pm section of the User Contributed Perl Documentation (yes, perl, we love her). this is the whole vibe, let's get into it π
π NAME π
ONVIF::Media::Types::OSDColorOptions β say it with me, it's a mouthful but she's iconic π
β¨ DESCRIPTION β¨
so basically, this is a Perl data type class for the XML Schema defined complexType OSDColorOptions, and she comes straight outta the namespace http://www.onvif.org/ver10/schema. periodt.
what does she actually do? she describes the option of the color and its transparency. that's it. that's the whole job. color options. transparency options. no cap. π¦
π«Ά PROPERTIES π«Ά
these are the properties you can touch, and you reach them through the get_PROPERTY / set_PROPERTY methods. (yes, get_ and set_ and then the property name. iykyk.)
Colorβ the color option β¨Transparentβ the transparency option β¨Extensionβ the extension option β¨
π METHODS π
π§ new
Constructor. she's the main character, she builds the thing. and the following data structure may be passed to new():
{ # ONVIF::Media::Types::OSDColorOptions
Color => { # ONVIF::Media::Types::ColorOptions
# One of the following elements.
# No occurrence checks yet, so be sure to pass just one...
ColorList => ,
ColorspaceRange => { # ONVIF::Media::Types::ColorspaceRange
X => { # ONVIF::Media::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
Y => { # ONVIF::Media::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
Z => { # ONVIF::Media::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
Colorspace => $some_value, # anyURI
},
},
Transparent => { # ONVIF::Media::Types::IntRange
Min => $some_value, # int
Max => $some_value, # int
},
Extension => { # ONVIF::Media::Types::OSDColorOptionsExtension
},
},
π¨ bestie, listen. inside Color there's a note that says "One of the following elements." and then "No occurrence checks yet, so be sure to pass just one..." β so like, the code is NOT gonna yell at you if you pass more than one. she'll just let you. so you have to be the responsible one and pass exactly one. this is a real caveat, not a drill π
also note: those float values go in Min and Max for X, Y, and Z (each one is an ONVIF::Media::Types::FloatRange), Transparent uses int values for its Min and Max (it's an ONVIF::Media::Types::IntRange), and Colorspace is an anyURI. keep those types straight or it's giving chaos π
π AUTHOR π
Generated by SOAP::WSDL. that's the whole author line, she was born from a generator and honestly? slay.
and that's the page!! π documented against perl v5.40.1, dated 2026-02-01, in the 3pm manual. go forth and configure your OSD colors, you absolute legend πΈπ¦β¨
π¦ where this page comes from
- ubuntu resolute: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- ubuntu stonking: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms