C# 클래스 AForge.Imaging.Filters.CanvasMove

Move canvas to the specified point.

The filter moves canvas to the specified area filling unused empty areas with specified color.

The filter accepts 8/16 bpp grayscale images and 24/32/48/64 bpp color image for processing.

Sample usage:

// create filter CanvasMove filter = new CanvasMove( new IntPoint( -50, -50 ), Color.Green ); // apply the filter filter.ApplyInPlace( image );

Initial image:

Result image:

상속: BaseInPlaceFilter
파일 보기 프로젝트 열기: holisticware-admin/MonoVersal.AForgeNET 1 사용 예제들

공개 메소드들

메소드 설명
CanvasMove ( IntPoint movePoint ) : System.Drawing

Initializes a new instance of the CanvasMove class.

CanvasMove ( IntPoint movePoint, Color fillColorRGB ) : System.Drawing

Initializes a new instance of the CanvasMove class.

CanvasMove ( IntPoint movePoint, Color fillColorRGB, byte fillColorGray ) : System.Drawing

Initializes a new instance of the CanvasMove class.

CanvasMove ( IntPoint movePoint, byte fillColorGray ) : System.Drawing

Initializes a new instance of the CanvasMove class.

보호된 메소드들

메소드 설명
ProcessFilter ( UnmanagedImage image ) : void

Process the filter on the specified image.

비공개 메소드들

메소드 설명
CanvasMove ( ) : System.Drawing
ProcessFilter16bpc ( UnmanagedImage image ) : void
ProcessFilter8bpc ( UnmanagedImage image ) : void

메소드 상세

CanvasMove() 공개 메소드

Initializes a new instance of the CanvasMove class.
public CanvasMove ( IntPoint movePoint ) : System.Drawing
movePoint IntPoint Point to move the canvas to.
리턴 System.Drawing

CanvasMove() 공개 메소드

Initializes a new instance of the CanvasMove class.
public CanvasMove ( IntPoint movePoint, Color fillColorRGB ) : System.Drawing
movePoint IntPoint Point to move the canvas.
fillColorRGB System.Drawing.Color RGB color to use for filling areas empty areas in color images.
리턴 System.Drawing

CanvasMove() 공개 메소드

Initializes a new instance of the CanvasMove class.
public CanvasMove ( IntPoint movePoint, Color fillColorRGB, byte fillColorGray ) : System.Drawing
movePoint IntPoint Point to move the canvas.
fillColorRGB System.Drawing.Color RGB color to use for filling areas empty areas in color images.
fillColorGray byte Gray color to use for filling empty areas in grayscale images.
리턴 System.Drawing

CanvasMove() 공개 메소드

Initializes a new instance of the CanvasMove class.
public CanvasMove ( IntPoint movePoint, byte fillColorGray ) : System.Drawing
movePoint IntPoint Point to move the canvas.
fillColorGray byte Gray color to use for filling empty areas in grayscale images.
리턴 System.Drawing

ProcessFilter() 보호된 메소드

Process the filter on the specified image.
protected ProcessFilter ( UnmanagedImage image ) : void
image UnmanagedImage Source image data.
리턴 void