xtd 0.2.0
xtd::drawing::helpers::argb Struct Reference

Definition

The argb struct.

struct argb : rgb;
The argb struct.
Definition argb.hpp:23
The rgb struct.
Definition rgb.hpp:23
Namespace
xtd::drawing::helpers
Library
xtd.drawing

Public Properties

xtd::byte a
 Gets or sets the alpha component value of this xtd::drawing::helpers::argb struct.
 
xtd::byte r
 Gets or sets the red component value of this xtd::drawing::helpers::argb struct.
 
xtd::byte g
 Gets or sets the green component value of this xtd::drawing::helpers::argb struct.
 
xtd::byte b
 Gets or sets the blue component value of this xtd::drawing::helpers::argb struct.
 

Public Static Methods

static argb from_uint32 (uint32 value) noexcept
 Creates a xtd::helpers::argb struct from the specified unsigned integer value.
 

Member Function Documentation

◆ from_uint32()

static argb xtd::drawing::helpers::argb::from_uint32 ( uint32  value)
inlinestaticnoexcept

Creates a xtd::helpers::argb struct from the specified unsigned integer value.

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

Member Data Documentation

◆ a

xtd::byte xtd::drawing::helpers::argb::a

Gets or sets the alpha component value of this xtd::drawing::helpers::argb struct.

Parameters
abyte The alpha component value of this xtd::drawing::helpers::argb.

◆ r

xtd::byte xtd::drawing::helpers::argb::r

Gets or sets the red component value of this xtd::drawing::helpers::argb struct.

Parameters
rbyte The red component value of this xtd::drawing::helpers::argb.

◆ g

xtd::byte xtd::drawing::helpers::argb::g

Gets or sets the green component value of this xtd::drawing::helpers::argb struct.

Parameters
rbyte The green component value of this xtd::drawing::helpers::argb.

◆ b

xtd::byte xtd::drawing::helpers::argb::b

Gets or sets the blue component value of this xtd::drawing::helpers::argb struct.

Parameters
rbyte The blue component value of this xtd::drawing::helpers::argb.

The documentation for this struct was generated from the following file: