Struct Bgr565
Defines a Bgr565 (Blue Green Red) color
[ColorInfo(ConversionCodename = "Bgr565")]
public struct Bgr565 : IColor, IEquatable<Bgr565>
- Implements
- Inherited Members
Constructors
Bgr565(double, double, double)
Create a Bgr565 color using the specific values
public Bgr565(double red, double green, double blue)
Parameters
red
doubleThe red value for this color
green
doubleThe green value for this color
blue
doubleThe blue value for this color
Bgr565(Color)
Create a Bgr565 color using the System.Drawing.Color
public Bgr565(Color winColor)
Parameters
winColor
ColorSystem.Drawing.Color
Properties
Blue
Get or set the intensity of the blue color channel
public double Blue { get; set; }
Property Value
Dimension
Get the dimension of this color
public int Dimension { get; }
Property Value
Green
Get or set the intensity of the green color channel
public double Green { get; set; }
Property Value
MCvScalar
Get or Set the equivalent MCvScalar value
public MCvScalar MCvScalar { get; set; }
Property Value
Red
Get or set the intensity of the red color channel
public double Red { get; set; }
Property Value
Methods
Equals(Bgr565)
Return true if the two color equals
public bool Equals(Bgr565 other)
Parameters
other
Bgr565The other color to compare with
Returns
- bool
true if the two color equals
ToString()
Represent this color as a String
public override string ToString()
Returns
- string
The string representation of this color