C# Class NoiseTool.Gradients

Inheritance: System.Windows.Controls.UserControl
Show file Open project: MadoxLabs/NoiseTool

Public Properties

Property Type Description
CurrentDef GradientDef

Public Methods

Method Description
GetGradient ( string name ) : GradientDef
Gradients ( ) : System
Load ( StreamReader sr ) : void
SaveToString ( ) : string
def_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Private Methods

Method Description
Button_Click ( object sender, System e ) : void
DrawImage ( ) : void
InitBitmap ( ) : void
xAdd_Click ( object sender, System e ) : void
xDefList_SelectionChanged ( object sender, System e ) : void
xName_TextChanged ( object sender, System e ) : void

Method Details

GetGradient() public method

public GetGradient ( string name ) : GradientDef
name string
return GradientDef

Gradients() public method

public Gradients ( ) : System
return System

Load() public method

public Load ( StreamReader sr ) : void
sr System.IO.StreamReader
return void

SaveToString() public method

public SaveToString ( ) : string
return string

def_PropertyChanged() public method

public def_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
sender object
e System.ComponentModel.PropertyChangedEventArgs
return void

Property Details

CurrentDef public property

public GradientDef,NoiseTool CurrentDef
return GradientDef