C# Class Shed.Pixels

显示文件 Open project: kiniry-teaching/UCD Class Usage Examples

Protected Properties

Property Type Description
_pixels ].Pixel[
_shape Shape

Public Methods

Method Description
CalculateNeighbours ( ) : void
CreatePixels ( int w, int h ) : void
Pixels ( Shape shape ) : System

Private Methods

Method Description
AddNeighbour ( int x, int y, Pixel n ) : void
CalculateNeighbour ( int cx, int cy, float r ) : void

Method Details

CalculateNeighbours() public method

public CalculateNeighbours ( ) : void
return void

CreatePixels() public method

public CreatePixels ( int w, int h ) : void
w int
h int
return void

Pixels() public method

public Pixels ( Shape shape ) : System
shape Shape
return System

Property Details

_pixels protected_oe property

protected Pixel[,] _pixels
return ].Pixel[

_shape protected_oe property

protected Shape,Shed _shape
return Shape