C# Class TEditXna.Editor.Tools.BrushTool

Inheritance: TEditXna.Editor.Tools.BaseTool
Afficher le fichier Open project: TEdit/Terraria-Map-Editor

Méthodes publiques

Méthode Description
BrushTool ( WorldViewModel worldViewModel ) : System
MouseDown ( TileMouseState e ) : void
MouseMove ( TileMouseState e ) : void
MouseUp ( TileMouseState e ) : void
PreviewTool ( ) : System.Windows.Media.Imaging.WriteableBitmap

Private Methods

Méthode Description
CheckDirectionandDraw ( Vector2Int32 tile ) : void
DrawLine ( Vector2Int32 to ) : void
DrawLineP2P ( Vector2Int32 endPoint ) : void
FillHollow ( IEnumerable area, IEnumerable interrior ) : void
FillRectangle ( Vector2Int32 point ) : void
FillRound ( Vector2Int32 point ) : void
FillSlope ( Vector2Int32 point ) : void
FillSolid ( IEnumerable area ) : void

Method Details

BrushTool() public méthode

public BrushTool ( WorldViewModel worldViewModel ) : System
worldViewModel TEditXna.ViewModel.WorldViewModel
Résultat System

MouseDown() public méthode

public MouseDown ( TileMouseState e ) : void
e TileMouseState
Résultat void

MouseMove() public méthode

public MouseMove ( TileMouseState e ) : void
e TileMouseState
Résultat void

MouseUp() public méthode

public MouseUp ( TileMouseState e ) : void
e TileMouseState
Résultat void

PreviewTool() public méthode

public PreviewTool ( ) : System.Windows.Media.Imaging.WriteableBitmap
Résultat System.Windows.Media.Imaging.WriteableBitmap