C# Класс SphereStudio.Plugins.ImageEditView

Наследование: Sphere.Plugins.Views.ImageView
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Activate ( ) : void
Deactivate ( ) : void
GetImages ( short tileWidth, short tileHeight ) : System.Drawing.Bitmap[]

Cuts up and returns a list of sub-images.

ImageEditView ( ) : System
Load ( string path ) : void
NewDocument ( ) : bool
Redo ( ) : void
Rescale ( int width, int height, InterpolationMode mode ) : void
Resize ( int width, int height ) : void
Save ( string path ) : void
SetImage ( Bitmap image ) : void
SetScale ( int width, int height, InterpolationMode mode ) : void

Sets the new scale of the image.

SetSize ( int width, int height ) : void

Sets the new size of the image.

Undo ( ) : void

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
AlphaTracker_Scroll ( object sender, EventArgs e ) : void
AlphaTracker_ValueChanged ( object sender, EventArgs e ) : void
ColorUpdated ( object sender, EventArgs e ) : void
FillButton_Click ( object sender, EventArgs e ) : void
ImageEditor_ColorChanged ( object sender, EventArgs e ) : void
ImageEditor_ImageChanged ( object sender, EventArgs e ) : void
ImageEditor_Paint ( object sender, PaintEventArgs e ) : void
ImagePanel_Resize ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

InitializeDocking ( ) : void
LineButton_Click ( object sender, EventArgs e ) : void
MirrorButton_Click ( object sender, EventArgs e ) : void
MirrorHButton_Click ( object sender, EventArgs e ) : void
OutlineButton_Click ( object sender, EventArgs e ) : void
PanButton_Click ( object sender, EventArgs e ) : void
PencilButton_Click ( object sender, EventArgs e ) : void
RectangleButton_Click ( object sender, EventArgs e ) : void
RedoButton_Click ( object sender, EventArgs e ) : void
ShowGridButton_Click ( object sender, EventArgs e ) : void
UndoButton_Click ( object sender, EventArgs e ) : void
UnselectButtons ( ) : void
box_MouseClick ( object sender, MouseEventArgs e ) : void

Описание методов

Activate() публичный Метод

public Activate ( ) : void
Результат void

Deactivate() публичный Метод

public Deactivate ( ) : void
Результат void

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

GetImages() публичный Метод

Cuts up and returns a list of sub-images.
public GetImages ( short tileWidth, short tileHeight ) : System.Drawing.Bitmap[]
tileWidth short Width of sub-image.
tileHeight short Height of sub-image.
Результат System.Drawing.Bitmap[]

ImageEditView() публичный Метод

public ImageEditView ( ) : System
Результат System

Load() публичный Метод

public Load ( string path ) : void
path string
Результат void

NewDocument() публичный Метод

public NewDocument ( ) : bool
Результат bool

Redo() публичный Метод

public Redo ( ) : void
Результат void

Rescale() публичный Метод

public Rescale ( int width, int height, InterpolationMode mode ) : void
width int
height int
mode InterpolationMode
Результат void

Resize() публичный Метод

public Resize ( int width, int height ) : void
width int
height int
Результат void

Save() публичный Метод

public Save ( string path ) : void
path string
Результат void

SetImage() публичный Метод

public SetImage ( Bitmap image ) : void
image Bitmap
Результат void

SetScale() публичный Метод

Sets the new scale of the image.
public SetScale ( int width, int height, InterpolationMode mode ) : void
width int
height int
mode InterpolationMode
Результат void

SetSize() публичный Метод

Sets the new size of the image.
public SetSize ( int width, int height ) : void
width int
height int
Результат void

Undo() публичный Метод

public Undo ( ) : void
Результат void