Show / Hide Table of Contents

Struct Vec4b

4-Tuple of byte (System.Byte)

Implements
IVec<Vec4b, System.Byte>
IVec
IEquatable<Vec4b>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public struct Vec4b : IVec<Vec4b, byte>, IVec

Constructors

| Improve this Doc View Source

Vec4b(Byte, Byte, Byte, Byte)

Initializer

Declaration
public Vec4b(byte item0, byte item1, byte item2, byte item3)
Parameters
Type Name Description
System.Byte item0
System.Byte item1
System.Byte item2
System.Byte item3

Fields

| Improve this Doc View Source

Item0

The value of the first component of this object.

Declaration
public byte Item0
Field Value
Type Description
System.Byte
| Improve this Doc View Source

Item1

The value of the second component of this object.

Declaration
public byte Item1
Field Value
Type Description
System.Byte
| Improve this Doc View Source

Item2

The value of the third component of this object.

Declaration
public byte Item2
Field Value
Type Description
System.Byte
| Improve this Doc View Source

Item3

The value of the fourth component of this object.

Declaration
public byte Item3
Field Value
Type Description
System.Byte

Properties

| Improve this Doc View Source

Item[Int32]

Indexer

Declaration
public byte this[int i] { readonly get; set; }
Parameters
Type Name Description
System.Int32 i
Property Value
Type Description
System.Byte

Methods

| Improve this Doc View Source

Add(Vec4b)

this + other

Declaration
public readonly Vec4b Add(Vec4b other)
Parameters
Type Name Description
Vec4b other
Returns
Type Description
Vec4b
| Improve this Doc View Source

Deconstruct(out Byte, out Byte, out Byte, out Byte)

Deconstructing a Vector

Declaration
public readonly void Deconstruct(out byte item0, out byte item1, out byte item2, out byte item3)
Parameters
Type Name Description
System.Byte item0
System.Byte item1
System.Byte item2
System.Byte item3
| Improve this Doc View Source

Divide(Double)

this / alpha

Declaration
public readonly Vec4b Divide(double alpha)
Parameters
Type Name Description
System.Double alpha
Returns
Type Description
Vec4b
| Improve this Doc View Source

Equals(Vec4b)

Declaration
public readonly bool Equals(Vec4b other)
Parameters
Type Name Description
Vec4b other
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Equals(Object)

Declaration
public override readonly bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.ValueType.Equals(System.Object)
| Improve this Doc View Source

GetHashCode()

Declaration
public override readonly int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.ValueType.GetHashCode()
| Improve this Doc View Source

Multiply(Double)

this * alpha

Declaration
public readonly Vec4b Multiply(double alpha)
Parameters
Type Name Description
System.Double alpha
Returns
Type Description
Vec4b
| Improve this Doc View Source

Subtract(Vec4b)

this - other

Declaration
public readonly Vec4b Subtract(Vec4b other)
Parameters
Type Name Description
Vec4b other
Returns
Type Description
Vec4b
| Improve this Doc View Source

ToString()

Declaration
public override readonly string ToString()
Returns
Type Description
System.String
Overrides
System.ValueType.ToString()
| Improve this Doc View Source

ToVec4d()

Declaration
public Vec4d ToVec4d()
Returns
Type Description
Vec4d
| Improve this Doc View Source

ToVec4f()

Declaration
public Vec4f ToVec4f()
Returns
Type Description
Vec4f
| Improve this Doc View Source

ToVec4i()

Declaration
public Vec4i ToVec4i()
Returns
Type Description
Vec4i
| Improve this Doc View Source

ToVec4s()

Declaration
public Vec4s ToVec4s()
Returns
Type Description
Vec4s
| Improve this Doc View Source

ToVec4w()

Declaration
public Vec4w ToVec4w()
Returns
Type Description
Vec4w

Operators

| Improve this Doc View Source

Addition(Vec4b, Vec4b)

Declaration
public static Vec4b operator +(Vec4b a, Vec4b b)
Parameters
Type Name Description
Vec4b a
Vec4b b
Returns
Type Description
Vec4b
| Improve this Doc View Source

Division(Vec4b, Double)

Declaration
public static Vec4b operator /(Vec4b a, double alpha)
Parameters
Type Name Description
Vec4b a
System.Double alpha
Returns
Type Description
Vec4b
| Improve this Doc View Source

Equality(Vec4b, Vec4b)

Declaration
public static bool operator ==(Vec4b a, Vec4b b)
Parameters
Type Name Description
Vec4b a
Vec4b b
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Inequality(Vec4b, Vec4b)

Declaration
public static bool operator !=(Vec4b a, Vec4b b)
Parameters
Type Name Description
Vec4b a
Vec4b b
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Multiply(Vec4b, Double)

Declaration
public static Vec4b operator *(Vec4b a, double alpha)
Parameters
Type Name Description
Vec4b a
System.Double alpha
Returns
Type Description
Vec4b
| Improve this Doc View Source

Subtraction(Vec4b, Vec4b)

Declaration
public static Vec4b operator -(Vec4b a, Vec4b b)
Parameters
Type Name Description
Vec4b a
Vec4b b
Returns
Type Description
Vec4b

Implements

IVec<TSelf, TElem>
IVec
IEquatable<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX