WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
DirectOutput.General.Analog.AnalogAlpha Class Reference

Object containing a analog value (0-255) and a alpha value (0-255). More...

Public Member Functions

AnalogAlpha Clone ()
 Clones this instance. More...
 
void Set (int Value, int Alpha)
 Sets the specified values. More...
 
void Set (int Value)
 Sets the analog value.
If Value is 0, the alpha value will be set to 0, otherwise it will be set to 255. More...
 
 AnalogAlpha (int Value, int Alpha)
 Initializes a new instance of the AnalogAlpha class. More...
 
 AnalogAlpha (int Value)
 Initializes a new instance of the AnalogAlpha class. If Value is 0, the alpha value will be set to 0, otherwise it will be set to 255. More...
 
 AnalogAlpha ()
 Initializes a new instance of the AnalogAlpha class. More...
 

Public Attributes

int Value
 The analog value (0-255). More...
 
int Alpha
 The alpha value (0-255). More...
 

Detailed Description

Object containing a analog value (0-255) and a alpha value (0-255).

Definition at line 11 of file AnalogAlpha.cs.

Constructor & Destructor Documentation

DirectOutput.General.Analog.AnalogAlpha.AnalogAlpha ( int  Value,
int  Alpha 
)

Initializes a new instance of the AnalogAlpha class.

Parameters
ValueThe analog value.
AlphaThe alpha value.

Definition at line 59 of file AnalogAlpha.cs.

DirectOutput.General.Analog.AnalogAlpha.AnalogAlpha ( int  Value)

Initializes a new instance of the AnalogAlpha class. If Value is 0, the alpha value will be set to 0, otherwise it will be set to 255.

Parameters
ValueThe analog value.

Definition at line 70 of file AnalogAlpha.cs.

DirectOutput.General.Analog.AnalogAlpha.AnalogAlpha ( )

Initializes a new instance of the AnalogAlpha class.

Definition at line 79 of file AnalogAlpha.cs.

Member Function Documentation

AnalogAlpha DirectOutput.General.Analog.AnalogAlpha.Clone ( )

Clones this instance.

Returns
A clone of the AnalogAlphaValue instance.

Definition at line 27 of file AnalogAlpha.cs.

void DirectOutput.General.Analog.AnalogAlpha.Set ( int  Value,
int  Alpha 
)

Sets the specified values.

Parameters
ValueThe analog value.
AlphaThe alpha value.

Definition at line 37 of file AnalogAlpha.cs.

void DirectOutput.General.Analog.AnalogAlpha.Set ( int  Value)

Sets the analog value.
If Value is 0, the alpha value will be set to 0, otherwise it will be set to 255.

Parameters
ValueThe analog value.

Definition at line 48 of file AnalogAlpha.cs.

Member Data Documentation

int DirectOutput.General.Analog.AnalogAlpha.Alpha

The alpha value (0-255).

Definition at line 20 of file AnalogAlpha.cs.

int DirectOutput.General.Analog.AnalogAlpha.Value

The analog value (0-255).

Definition at line 16 of file AnalogAlpha.cs.


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