C# Class FontEffectsLib.FontTypes.ShadowFont

Inheritance: GameFont
Exibir arquivo Open project: GreatMindsRobotics/FontEffectsLib

Protected Properties

Property Type Description
_enableShadow bool
_shadowColor Color
_shadowPosition Vector2
_shadowSize Vector2
_usingRelativePosition bool

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch ) : void
ShadowFont ( SpriteFont font, String text, Vector2 position, Color tintColor, Vector2 shadowPosition, Color shadowColor ) : System
ShadowFont ( SpriteFont font, Vector2 position, Color tintColor ) : System

Method Details

Draw() public method

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

ShadowFont() public method

public ShadowFont ( SpriteFont font, String text, Vector2 position, Color tintColor, Vector2 shadowPosition, Color shadowColor ) : System
font Microsoft.Xna.Framework.Graphics.SpriteFont
text String
position Vector2
tintColor Color
shadowPosition Vector2
shadowColor Color
return System

ShadowFont() public method

public ShadowFont ( SpriteFont font, Vector2 position, Color tintColor ) : System
font Microsoft.Xna.Framework.Graphics.SpriteFont
position Vector2
tintColor Color
return System

Property Details

_enableShadow protected_oe property

protected bool _enableShadow
return bool

_shadowColor protected_oe property

protected Color _shadowColor
return Color

_shadowPosition protected_oe property

protected Vector2 _shadowPosition
return Vector2

_shadowSize protected_oe property

protected Vector2 _shadowSize
return Vector2

_usingRelativePosition protected_oe property

protected bool _usingRelativePosition
return bool