internal Panel( string name )
: base( name )
{
//this.IsTransparent = false; //[FXCop Optimization : Do not initialize unnecessarily], Defaults to false, left here for clarity
// initialize the default tiling to 1 for all layers
for ( int i = 0; i < Config.MaxTextureLayers; i++ )
{
tileX[ i ] = 1.0f;
tileY[ i ] = 1.0f;
}
// Defer creation of texcoord buffer until we know how big it needs to be
//this.numTexCoordsInBuffer = 0; //[FXCop Optimization : Do not initialize unnecessarily], Defaults to 0, left here for clarity
topLeft = new Vector2( 0.0f, 0.0f );
bottomRight = new Vector2( 1.0f, 1.0f );
}