C# 클래스 ScreenToGif.Controls.FreeDrawPanel

Panel able to receive paint events.
상속: System.Windows.Forms.Panel
파일 보기 프로젝트 열기: dbremner/ScreenToGif

공개 메소드들

메소드 설명
Draw ( Action drawAction ) : void

Applies the Action to the cached image.

DrawCachedImage ( Graphics graphics ) : void

Draws the cached image with current Graphics.

EraseAll ( ) : void

Clears the cached image.

EraseEvent ( MouseEventArgs e, int eraserSize ) : void

Paint as Color.Transparent the selected area.

보호된 메소드들

메소드 설명
OnPaint ( PaintEventArgs e ) : void

비공개 메소드들

메소드 설명
InitializeCachedImage ( ) : void

메소드 상세

Draw() 공개 메소드

Applies the Action to the cached image.
public Draw ( Action drawAction ) : void
drawAction Action
리턴 void

DrawCachedImage() 공개 메소드

Draws the cached image with current Graphics.
public DrawCachedImage ( Graphics graphics ) : void
graphics System.Drawing.Graphics The current graphics to be applied.
리턴 void

EraseAll() 공개 메소드

Clears the cached image.
public EraseAll ( ) : void
리턴 void

EraseEvent() 공개 메소드

Paint as Color.Transparent the selected area.
public EraseEvent ( MouseEventArgs e, int eraserSize ) : void
e MouseEventArgs A MouseEventsArgs object
eraserSize int The Size of the eraser.
리턴 void

OnPaint() 보호된 메소드

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void