C# Class NewTOAPIA.Graphics.Pixel

Inheritance: IPixel
Exibir arquivo Open project: Wiladams/NewTOAPIA

Private Properties

Property Type Description

Public Methods

Method Description
Equals ( Pixel rhs ) : bool
Equals ( object obj ) : bool
GetBytes ( ) : byte[]
GetBytesForColor ( IPixelInformation pInfo, ColorRGBA color ) : byte[]
GetBytesForColor ( PixelLayout layout, PixelComponentType pType, ColorRGBA color ) : byte[]
GetColor ( ) : ColorRGBA
GetColor ( IPixelInformation pixelInfo, IntPtr data, int startIndex ) : ColorRGBA
GetColor ( IPixelInformation pixelInfo, byte data ) : ColorRGBA
GetColor ( IPixelInformation pixelInfo, byte data, int startIndex ) : ColorRGBA
GetColor ( PixelLayout layout, PixelComponentType pType, byte data ) : ColorRGBA
GetColor ( PixelLayout layout, PixelComponentType pType, byte data, int startIndex ) : ColorRGBA
GetHashCode ( ) : int
Pixel ( IPixel pel ) : System
Pixel ( PixelInformation pixInfo, byte data ) : System
Pixel ( PixelInformation pixInfo, byte data, int startIndex ) : System
Pixel ( PixelLayout layout, PixelComponentType pType, ColorRGBA color ) : System
Pixel ( PixelLayout layout, PixelComponentType pType, byte data, int startIndex ) : System
SetBytes ( IntPtr data, int startIndex ) : void
SetBytes ( byte bytes ) : void
SetBytes ( byte data, int startIndex ) : void
SetColor ( ColorRGBA color ) : void
ToRGBAb ( ) : RGBAb
ToString ( ) : string
operator ( ) : bool

Method Details

Equals() public method

public Equals ( Pixel rhs ) : bool
rhs Pixel
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetBytes() public method

public GetBytes ( ) : byte[]
return byte[]

GetBytesForColor() public static method

public static GetBytesForColor ( IPixelInformation pInfo, ColorRGBA color ) : byte[]
pInfo IPixelInformation
color ColorRGBA
return byte[]

GetBytesForColor() public static method

public static GetBytesForColor ( PixelLayout layout, PixelComponentType pType, ColorRGBA color ) : byte[]
layout PixelLayout
pType PixelComponentType
color ColorRGBA
return byte[]

GetColor() public method

public GetColor ( ) : ColorRGBA
return ColorRGBA

GetColor() public static method

public static GetColor ( IPixelInformation pixelInfo, IntPtr data, int startIndex ) : ColorRGBA
pixelInfo IPixelInformation
data System.IntPtr
startIndex int
return ColorRGBA

GetColor() public static method

public static GetColor ( IPixelInformation pixelInfo, byte data ) : ColorRGBA
pixelInfo IPixelInformation
data byte
return ColorRGBA

GetColor() public static method

public static GetColor ( IPixelInformation pixelInfo, byte data, int startIndex ) : ColorRGBA
pixelInfo IPixelInformation
data byte
startIndex int
return ColorRGBA

GetColor() public static method

public static GetColor ( PixelLayout layout, PixelComponentType pType, byte data ) : ColorRGBA
layout PixelLayout
pType PixelComponentType
data byte
return ColorRGBA

GetColor() public static method

public static GetColor ( PixelLayout layout, PixelComponentType pType, byte data, int startIndex ) : ColorRGBA
layout PixelLayout
pType PixelComponentType
data byte
startIndex int
return ColorRGBA

GetHashCode() public method

public GetHashCode ( ) : int
return int

Pixel() public method

public Pixel ( IPixel pel ) : System
pel IPixel
return System

Pixel() public method

public Pixel ( PixelInformation pixInfo, byte data ) : System
pixInfo PixelInformation
data byte
return System

Pixel() public method

public Pixel ( PixelInformation pixInfo, byte data, int startIndex ) : System
pixInfo PixelInformation
data byte
startIndex int
return System

Pixel() public method

public Pixel ( PixelLayout layout, PixelComponentType pType, ColorRGBA color ) : System
layout PixelLayout
pType PixelComponentType
color ColorRGBA
return System

Pixel() public method

public Pixel ( PixelLayout layout, PixelComponentType pType, byte data, int startIndex ) : System
layout PixelLayout
pType PixelComponentType
data byte
startIndex int
return System

SetBytes() public method

public SetBytes ( IntPtr data, int startIndex ) : void
data System.IntPtr
startIndex int
return void

SetBytes() public method

public SetBytes ( byte bytes ) : void
bytes byte
return void

SetBytes() public method

public SetBytes ( byte data, int startIndex ) : void
data byte
startIndex int
return void

SetColor() public method

public SetColor ( ColorRGBA color ) : void
color ColorRGBA
return void

ToRGBAb() public method

public ToRGBAb ( ) : RGBAb
return RGBAb

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : bool
return bool