C# Class NoiseTool.NoiseObject

Inheritance: System.Windows.Controls.UserControl
显示文件 Open project: MadoxLabs/NoiseTool Class Usage Examples

Public Properties

Property Type Description
LinkTips Tips
Range string
mGradient GradientDef
mLocalGradient bool
mName string
mType int

Protected Properties

Property Type Description
mDragLast System.Windows.Point
mMove bool
mMoveLoc System.Windows.Point
mNoise Adapter
mResize bool

Public Methods

Method Description
AddPoint ( ) : void
Apply ( ) : string
Attach ( LinkType type, Adapter a ) : void
Detatch ( LinkType type ) : void
Load ( StreamReader sr ) : string
NoiseObject ( int type ) : System
OnClose ( ) : void
OnErase ( LinkEventArgs l ) : void
OnLink ( LinkEventArgs l ) : void
OnNeedApply ( ) : void
OnNeedUpdate ( ) : void
OnRaise ( ) : void
OnRelink ( ) : void
OnRendered ( ) : void
Redraw ( ) : void
SaveToString ( ) : string
Select ( bool b ) : void
SetGradient ( GradientDef g ) : void
ThreadMain ( ) : void
UserControl_Unloaded ( object sender, System e ) : void
xLinks_Erase ( object sender, LinkEventArgs e ) : void
xLinks_Link ( object sender, LinkEventArgs e ) : void

Private Methods

Method Description
Button_Click ( object sender, System e ) : void
ComboBox_SelectionChanged ( object sender, System e ) : void
InitData ( ) : void
MoveGrip_MouseLeftButtonDown ( object sender, System e ) : void
MoveGrip_MouseLeftButtonUp ( object sender, System e ) : void
MoveGrip_MouseMove ( object sender, System e ) : void
ResizeGrip_MouseLeftButtonDown ( object sender, System e ) : void
ResizeGrip_MouseLeftButtonUp ( object sender, System e ) : void
ResizeGrip_MouseMove ( object sender, System e ) : void
ShadowParams ( ) : void
setModuleType ( string type ) : void
xClose_Click ( object sender, System e ) : void
xFrame_MouseRightButtonDown ( object sender, System e ) : void
xGradient_SelectionChanged ( object sender, System e ) : void
xNormal_Click ( object sender, System e ) : void
xSave_Click ( object sender, System e ) : void
xSeed_Click ( object sender, System e ) : void
xShadow_Click ( object sender, System e ) : void
xTile_Click ( object sender, System e ) : void

Method Details

AddPoint() public method

public AddPoint ( ) : void
return void

Apply() public method

public Apply ( ) : string
return string

Attach() public method

public Attach ( LinkType type, Adapter a ) : void
type LinkType
a Adapter
return void

Detatch() public method

public Detatch ( LinkType type ) : void
type LinkType
return void

Load() public method

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

NoiseObject() public method

public NoiseObject ( int type ) : System
type int
return System

OnClose() public method

public OnClose ( ) : void
return void

OnErase() public method

public OnErase ( LinkEventArgs l ) : void
l LinkEventArgs
return void

OnLink() public method

public OnLink ( LinkEventArgs l ) : void
l LinkEventArgs
return void

OnNeedApply() public method

public OnNeedApply ( ) : void
return void

OnNeedUpdate() public method

public OnNeedUpdate ( ) : void
return void

OnRaise() public method

public OnRaise ( ) : void
return void

OnRelink() public method

public OnRelink ( ) : void
return void

OnRendered() public method

public OnRendered ( ) : void
return void

Redraw() public method

public Redraw ( ) : void
return void

SaveToString() public method

public SaveToString ( ) : string
return string

Select() public method

public Select ( bool b ) : void
b bool
return void

SetGradient() public method

public SetGradient ( GradientDef g ) : void
g GradientDef
return void

ThreadMain() public method

public ThreadMain ( ) : void
return void

UserControl_Unloaded() public method

public UserControl_Unloaded ( object sender, System e ) : void
sender object
e System
return void

xLinks_Erase() public method

public xLinks_Erase ( object sender, LinkEventArgs e ) : void
sender object
e LinkEventArgs
return void

xLinks_Link() public method

public xLinks_Link ( object sender, LinkEventArgs e ) : void
sender object
e LinkEventArgs
return void

Property Details

LinkTips public_oe property

public Tips,NoiseTool LinkTips
return Tips

Range public_oe property

public string Range
return string

mDragLast protected_oe property

protected Point,System.Windows mDragLast
return System.Windows.Point

mGradient public_oe property

public GradientDef,NoiseTool mGradient
return GradientDef

mLocalGradient public_oe property

public bool mLocalGradient
return bool

mMove protected_oe property

protected bool mMove
return bool

mMoveLoc protected_oe property

protected Point,System.Windows mMoveLoc
return System.Windows.Point

mName public_oe property

public string mName
return string

mNoise protected_oe property

protected Adapter,NoiseTool mNoise
return Adapter

mResize protected_oe property

protected bool mResize
return bool

mType public_oe property

public int mType
return int