xtd 1.0.0
Loading...
Searching...
No Matches
xtd::drawing::yuv Struct Reference

Definition

The yuv struct.

struct yuv;
The yuv struct.
Definition yuv.hpp:22
Namespace
xtd::drawing
Library
xtd.drawing

Public Properties

xtd::single y
 Gets or sets the y component value of this xtd::drawing::yuv struct.
xtd::single u
 Gets or sets the u component value of this xtd::drawing::yuv struct.
xtd::single v
 Gets or sets the v component value of this xtd::drawing::yuv struct.

Public Static Methods

static auto from_yuv (xtd::single y, xtd::single u, xtd::single v) noexcept -> xtd::drawing::yuv
 Creates a xtd::yuv struct from the specified y, u, and v single values.
static auto from_yuv (const yuv &value) noexcept -> xtd::drawing::yuv
 Creates a xtd::yuv struct from the specified axtd::drawing::yuv value.

Member Function Documentation

◆ from_yuv() [1/2]

auto xtd::drawing::yuv::from_yuv ( xtd::single y,
xtd::single u,
xtd::single v ) -> xtd::drawing::yuv
inlinestaticnodiscardnoexcept

Creates a xtd::yuv struct from the specified y, u, and v single values.

Parameters
yThe a single value.
uThe r single value.
vThe g single value.
Returns
an xtd::drawing::yuv value that contains decomposed unsigned integer value.

◆ from_yuv() [2/2]

auto xtd::drawing::yuv::from_yuv ( const yuv & value) -> xtd::drawing::yuv
inlinestaticnodiscardnoexcept

Creates a xtd::yuv struct from the specified axtd::drawing::yuv value.

Parameters
valueThe yuv value.
Returns
an xtd::drawing::yuv value that contains decomposed unsigned integer value.

Member Data Documentation

◆ y

xtd::single xtd::drawing::yuv::y

Gets or sets the y component value of this xtd::drawing::yuv struct.

Parameters
abyte The y component value of this xtd::drawing::yuv.

◆ u

xtd::single xtd::drawing::yuv::u

Gets or sets the u component value of this xtd::drawing::yuv struct.

Parameters
rbyte The u component value of this xtd::drawing::yuv.

◆ v

xtd::single xtd::drawing::yuv::v

Gets or sets the v component value of this xtd::drawing::yuv struct.

Parameters
rbyte The v component value of this xtd::drawing::yuv.

The documentation for this struct was generated from the following file:
  • xtd.drawing/include/xtd/drawing/yuv.hpp