C# Class PixelFarm.Agg.FloodFill

ファイルを表示 Open project: prepare/HTML-Renderer

Protected Properties

Property Type Description
destBuffer byte[]
imageStride int
pixelsChecked bool[]

Public Methods

Method Description
Fill ( ActualImage img, int x, int y ) : void
Fill ( ImageReaderWriterBase bufferToFillOn, int x, int y ) : void
FloodFill ( Color fillColor ) : PixelFarm.Drawing
FloodFill ( Color fillColor, int tolerance0To255 ) : PixelFarm.Drawing

Private Methods

Method Description
LinearFill ( int x, int y ) : void

Method Details

Fill() public method

public Fill ( ActualImage img, int x, int y ) : void
img ActualImage
x int
y int
return void

Fill() public method

public Fill ( ImageReaderWriterBase bufferToFillOn, int x, int y ) : void
bufferToFillOn ImageReaderWriterBase
x int
y int
return void

FloodFill() public method

public FloodFill ( Color fillColor ) : PixelFarm.Drawing
fillColor PixelFarm.Drawing.Color
return PixelFarm.Drawing

FloodFill() public method

public FloodFill ( Color fillColor, int tolerance0To255 ) : PixelFarm.Drawing
fillColor PixelFarm.Drawing.Color
tolerance0To255 int
return PixelFarm.Drawing

Property Details

destBuffer protected_oe property

protected byte[] destBuffer
return byte[]

imageStride protected_oe property

protected int imageStride
return int

pixelsChecked protected_oe property

protected bool[] pixelsChecked
return bool[]