CVB.Net 14.0
PlaneConfiguration Struct Reference

Structure defining the plane order for painting Image objects. More...

Public Member Functions

 PlaneConfiguration (int redPlane, int greenPlane, int bluePlane)
 Plane Configuration constructor. More...
 
 PlaneConfiguration (Image img)
 Create an appropriate default plane configuration for an image. More...
 

Public Attributes

readonly int RedPlane
 Index of the red color plane.
 
readonly int GreenPlane
 Index of the green color plane;
 
readonly int BluePlane
 Index of the blue color plane.
 

Detailed Description

Structure defining the plane order for painting Image objects.

Constructor & Destructor Documentation

◆ PlaneConfiguration() [1/2]

PlaneConfiguration ( int  redPlane,
int  greenPlane,
int  bluePlane 
)

Plane Configuration constructor.

Parameters
redPlaneIndex of the red colour plane
greenPlaneIndex of the green colour plane
bluePlaneIndex of the blue colour plane

◆ PlaneConfiguration() [2/2]

Create an appropriate default plane configuration for an image.

Parameters
imgImage to create the configuration for
Exceptions
NullReferenceExceptionIf img is null
ObjectDisposedExceptionIf img has already been disposed