<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<title> 1. Text Beispiel Transition </title>
			<meta name="author" content="Administrator"/>
			<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
			<link rel="stylesheet" type="text/css"
				href="html5-css3-text1.css" title="style1"/>
	</head>

<body>
	<h1>1. Text Beispiel Transition</h1>
<p class="box" >
	Graphics2D g2d = (Graphics2D)g;<br />
	g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, 	RenderingHints.VALUE_ANTIALIAS_ON);<br />
	AffineTransform at = new AffineTransform(); <br />
	int x=50;<br />
	int y=100;<br />
	at.setToRotation( Math.toRadians(-90), x,y ); // theta x y<br />
	g2d.setTransform(at); <br />
	g2d.drawString("Name", x,y);<br />
</p>
</body>
</html>


