C# Class Terraria.UI.Chat.TextSnippet

显示文件 Open project: EmuDevs/EDTerraria Class Usage Examples

Public Properties

Property Type Description
CheckForHover bool
Color Microsoft.Xna.Framework.Color
DeleteWhole bool
Scale float
Text string
TextOriginal string

Public Methods

Method Description
GetVisibleColor ( ) : Microsoft.Xna.Framework.Color
OnClick ( ) : void
OnHover ( ) : void
TextSnippet ( string text = "" ) : Microsoft.Xna.Framework
TextSnippet ( string text, Microsoft.Xna.Framework.Color color, float scale = 1f ) : Microsoft.Xna.Framework
UniqueDraw ( bool justCheckingString, Vector2 &size, SpriteBatch spriteBatch, Vector2 position = default(Vector2), Microsoft.Xna.Framework.Color color = default(Color), float scale = 1f ) : bool
Update ( ) : void

Method Details

GetVisibleColor() public method

public GetVisibleColor ( ) : Microsoft.Xna.Framework.Color
return Microsoft.Xna.Framework.Color

OnClick() public method

public OnClick ( ) : void
return void

OnHover() public method

public OnHover ( ) : void
return void

TextSnippet() public method

public TextSnippet ( string text = "" ) : Microsoft.Xna.Framework
text string
return Microsoft.Xna.Framework

TextSnippet() public method

public TextSnippet ( string text, Microsoft.Xna.Framework.Color color, float scale = 1f ) : Microsoft.Xna.Framework
text string
color Microsoft.Xna.Framework.Color
scale float
return Microsoft.Xna.Framework

UniqueDraw() public method

public UniqueDraw ( bool justCheckingString, Vector2 &size, SpriteBatch spriteBatch, Vector2 position = default(Vector2), Microsoft.Xna.Framework.Color color = default(Color), float scale = 1f ) : bool
justCheckingString bool
size Microsoft.Xna.Framework.Vector2
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
position Microsoft.Xna.Framework.Vector2
color Microsoft.Xna.Framework.Color
scale float
return bool

Update() public method

public Update ( ) : void
return void

Property Details

CheckForHover public_oe property

public bool CheckForHover
return bool

Color public_oe property

public Color,Microsoft.Xna.Framework Color
return Microsoft.Xna.Framework.Color

DeleteWhole public_oe property

public bool DeleteWhole
return bool

Scale public_oe property

public float Scale
return float

Text public_oe property

public string Text
return string

TextOriginal public_oe property

public string TextOriginal
return string