C# Класс BiomePainter.BitmapSelector.BitmapSelector

Наследование: System.Windows.Forms.UserControl
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Brush BrushType
BrushDiameter int
BrushDiameterMax int
BrushLayerIndex int
Layers List
Magnification int
MagnificationMax int
OffsetStep int
OffsetX int
OffsetY int
SelectionColor Color
SelectionLayerIndex int
ShowToolTips bool
ToolTips ].String[

Private Properties

Свойство Тип Описание
BitmapSelector_MouseCaptureChanged void
BitmapSelector_MouseDown void
BitmapSelector_MouseLeave void
BitmapSelector_MouseMove void
BitmapSelector_MouseUp void
BitmapSelector_MouseWheel void
InitializeComponent void
PanDown void
PanLeft void
PanRight void
PanUp void
RecreateBuffers void
RedrawBrushLayer void
Translate Point
scrollHorizontal_Scroll void
scrollVertical_Scroll void

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

Метод Описание
AddLayer ( Layer l ) : int
BitmapSelector ( ) : System
CancelCustomBrush ( ) : void
InvertSelection ( ) : void
Redraw ( ) : void
Reset ( ) : void
SelectAll ( ) : void
SelectNone ( ) : void
SetCustomBrush ( Bitmap b ) : void
Zoom ( int magnififcation, int offsetX, int offsetY, bool redraw = true ) : void

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

Метод Описание
Dispose ( bool disposing ) : void
OnBrushDiameterChanged ( BrushDiameterEventArgs e ) : void
OnCustomBrushClick ( CustomBrushClickEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnResize ( EventArgs e ) : void
OnSelectionChanged ( String description ) : void
OnZoom ( ZoomEventArgs e ) : void
ProcessCmdKey ( Message &msg, Keys keyData ) : bool

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

Метод Описание
BitmapSelector_MouseCaptureChanged ( object sender, EventArgs e ) : void
BitmapSelector_MouseDown ( object sender, MouseEventArgs e ) : void
BitmapSelector_MouseLeave ( object sender, EventArgs e ) : void
BitmapSelector_MouseMove ( object sender, MouseEventArgs e ) : void
BitmapSelector_MouseUp ( object sender, MouseEventArgs e ) : void
BitmapSelector_MouseWheel ( object sender, MouseEventArgs e ) : void
InitializeComponent ( ) : void

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

PanDown ( ) : void
PanLeft ( ) : void
PanRight ( ) : void
PanUp ( ) : void
RecreateBuffers ( ) : void
RedrawBrushLayer ( Point p, bool justClear = false ) : void
Translate ( Point e ) : Point
scrollHorizontal_Scroll ( object sender, ScrollEventArgs e ) : void
scrollVertical_Scroll ( object sender, ScrollEventArgs e ) : void

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

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

public AddLayer ( Layer l ) : int
l Layer
Результат int

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

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

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

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

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

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

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

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

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

protected OnBrushDiameterChanged ( BrushDiameterEventArgs e ) : void
e BrushDiameterEventArgs
Результат void

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

protected OnCustomBrushClick ( CustomBrushClickEventArgs e ) : void
e CustomBrushClickEventArgs
Результат void

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

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Результат void

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

protected OnResize ( EventArgs e ) : void
e System.EventArgs
Результат void

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

protected OnSelectionChanged ( String description ) : void
description String
Результат void

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

protected OnZoom ( ZoomEventArgs e ) : void
e ZoomEventArgs
Результат void

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

protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg System.Windows.Forms.Message
keyData Keys
Результат bool

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

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

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

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

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

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

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

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

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

public SetCustomBrush ( Bitmap b ) : void
b System.Drawing.Bitmap
Результат void

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

public Zoom ( int magnififcation, int offsetX, int offsetY, bool redraw = true ) : void
magnififcation int
offsetX int
offsetY int
redraw bool
Результат void

Описание свойств

Brush публичное свойство

public BrushType Brush
Результат BrushType

BrushDiameter публичное свойство

public int BrushDiameter
Результат int

BrushDiameterMax публичное свойство

public int BrushDiameterMax
Результат int

BrushLayerIndex публичное свойство

public int BrushLayerIndex
Результат int

Layers публичное свойство

public List Layers
Результат List

Magnification публичное свойство

public int Magnification
Результат int

MagnificationMax публичное свойство

public int MagnificationMax
Результат int

OffsetStep публичное свойство

public int OffsetStep
Результат int

OffsetX публичное свойство

public int OffsetX
Результат int

OffsetY публичное свойство

public int OffsetY
Результат int

SelectionColor публичное свойство

public Color SelectionColor
Результат Color

SelectionLayerIndex публичное свойство

public int SelectionLayerIndex
Результат int

ShowToolTips публичное свойство

public bool ShowToolTips
Результат bool

ToolTips публичное свойство

public String[,] ToolTips
Результат ].String[