{
tempLine = line.substring( line.indexOf( checkString ) + checkString.length() );
tempLine = tempLine.substring( 0, tempLine.indexOf( "\"" ) );
if( !tempLine.equals( "null" ) )
{
labelColor = new Vector3D( tempLine );
if( labelColor.getX() > 1 )
labelColor.setX( 1 );
if( labelColor.getY() > 1 )
labelColor.setY( 1 );
if( labelColor.getZ() > 1 )
labelColor.setZ( 1 );
if( labelColor.getX() < 0 )
labelColor.setX( 0 );
if( labelColor.getY() < 0 )
labelColor.setY( 0 );
if( labelColor.getZ() < 0 )
labelColor.setZ( 0 );
}
}
checkString = " LabelOutlineColor=\"";
if( line.contains( checkString ) )
{
tempLine = line.substring( line.indexOf( checkString ) + checkString.length() );
tempLine = tempLine.substring( 0, tempLine.indexOf( "\"" ) );
if( !tempLine.equals( "null" ) )
{
labelOutlineColor = new Vector3D( tempLine );
if( labelOutlineColor.getX() > 1 )
labelOutlineColor.setX( 1 );
if( labelOutlineColor.getY() > 1 )
labelOutlineColor.setY( 1 );
if( labelOutlineColor.getZ() > 1 )
labelOutlineColor.setZ( 1 );
if( labelOutlineColor.getX() < 0 )
labelOutlineColor.setX( 0 );
if( labelOutlineColor.getY() < 0 )
labelOutlineColor.setY( 0 );
if( labelOutlineColor.getZ() < 0 )
labelOutlineColor.setZ( 0 );
}
}
checkString = " OutlineColor=\"";
if( line.contains( checkString ) )
{
tempLine = line.substring( line.indexOf( checkString ) + checkString.length() );
tempLine = tempLine.substring( 0, tempLine.indexOf( "\"" ) );
if( !tempLine.equals( "null" ) )
{
outlineColor = new Vector3D( tempLine );
if( outlineColor.getX() > 1 )
outlineColor.setX( 1 );
if( outlineColor.getY() > 1 )
outlineColor.setY( 1 );
if( outlineColor.getZ() > 1 )