◆ FromIntensity()
static RGBPixel BrawlLib.Imaging.RGBPixel.FromIntensity |
( |
byte |
value | ) |
|
|
inlinestatic |
589 {
590 return new RGBPixel {
R = value,
G = value,
B = value};
591 }
byte G
Definition: PixelTypes.cs:566
byte B
Definition: PixelTypes.cs:566
byte R
Definition: PixelTypes.cs:566
◆ operator ARGBPixel()
574 {
575 return new ARGBPixel {A = 0xFF,
R = p.R,
G = p.G,
B = p.B};
576 }
◆ operator Color()
static BrawlLib.Imaging.RGBPixel.operator Color |
( |
RGBPixel |
p | ) |
|
|
inlineexplicitstatic |
579 {
580 return Color.FromArgb(p.R, p.G, p.B);
581 }
◆ operator RGBPixel() [1/2]
569 {
570 return new RGBPixel {
R = p.R,
G = p.G,
B = p.B};
571 }
◆ operator RGBPixel() [2/2]
static BrawlLib.Imaging.RGBPixel.operator RGBPixel |
( |
Color |
p | ) |
|
|
inlineexplicitstatic |
584 {
585 return new RGBPixel {
R = p.R,
G = p.G,
B = p.B};
586 }
◆ ToString()
override string BrawlLib.Imaging.RGBPixel.ToString |
( |
| ) |
|
|
inline |
594 {
595 return $"R:{R:X2} G:{G:X2} B:{B:X2}";
596 }
byte BrawlLib.Imaging.RGBPixel.B |
byte BrawlLib.Imaging.RGBPixel.G |
byte BrawlLib.Imaging.RGBPixel.R |
The documentation for this struct was generated from the following file:
- BrawlLib/Imaging/PixelTypes.cs