C# Класс ScreenToGif.Controls.FreeDrawPanel

Panel able to receive paint events.
Наследование: System.Windows.Forms.Panel
Показать файл Открыть проект

Открытые методы

Метод Описание
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