ONVIF:...Options(3pm)

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

✨ ONVIF::Media::Types::OSDTextOptions ✨

okay bestie, welcome to ONVIF:...Options(3pm) β€” the User Contributed Perl Documentation glow-up edition. this is the page for ONVIF::Media::Types::OSDTextOptions and she is, respectfully, iconic πŸ’…


🌸 NAME 🌸

ONVIF::Media::Types::OSDTextOptions β€” that's her. that's the whole name. short, sweet, main character energy fr fr πŸ‘‘


πŸ’– DESCRIPTION πŸ’–

so basically? 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. that's the whole vibe. no cap. πŸ¦‹


πŸŽ€ PROPERTIES πŸŽ€

the following properties may be accessed using get_PROPERTY / set_PROPERTY methods, iykyk:

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

literally all seven of them, we are not skipping a single one, not on my watch πŸ’œ


🌈 METHODS 🌈

⭐ new

Constructor bestie!! and here's the data structure you may pass to new() β€” copy it EXACTLY, don't get creative, I am begging πŸ™ˆ:

{ # ONVIF::Media::Types::OSDTextOptions
  Type =>  $some_value, # string
  FontSizeRange =>  { # ONVIF::Media::Types::IntRange
    Min =>  $some_value, # int
    Max =>  $some_value, # int
  },
  DateFormat =>  $some_value, # string
  TimeFormat =>  $some_value, # string
  FontColor =>  { # 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
    },
  },
  BackgroundColor =>  { # 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
    },
  },
  Extension =>  { # ONVIF::Media::Types::OSDTextOptionsExtension
  },
},
🚨 ok important heads up: inside ColorOptions it says "One of the following elements. No occurrence checks yet, so be sure to pass just one..." β€” that means you have to be the responsible one and pass just one, because the module is not checking for you. it's giving "trust me bro" 😭 so please, just one. πŸ™

🫢 AUTHOR 🫢

Generated by SOAP::WSDL. that's it, that's the author, the machine did it, and honestly? ate. πŸ’…


and that's the whole page bestie!! πŸ’– no notes, 10/10, periodt. 🌈✨

this served you perl v5.40.1, dated 2026-02-01, straight from the User Contributed Perl Documentation collection β€” now go forth and build your OSD text options, you absolute legend πŸ‘‘πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from