Location: PHPKode > scripts > Text 3D > text-3d/example.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body>
<div style="text-align: center;"><big style="font-family: Arial;"><big><span
 style="font-weight: bold;">Text3D.class.php<br>
</span></big></big><img style="width: 198px; height: 114px;" alt=""
 src="example/example.gif"><br>
<div style="text-align: left;"><big><small><span
 style="font-weight: bold; text-decoration: underline; font-family: Arial;"><br>
</span></small></big><span
 style="font-family: Arial; text-decoration: underline;">Short support
for Text3D.class.php.</span><br>
<br>
<span style="font-family: Arial;">Package contents:<br>
- Text3D.class.php - Text3D main class<br>
- View.php - example file<br>
- Gifmerge.class.php - Simple animated GIF builder (optional)<br>
- Example.html - Short support for Text3D.class.php</span><br>
<big><small><span
 style="font-weight: bold; text-decoration: underline; font-family: Arial;"></span><span
 style="font-family: Arial;"></span><br style="font-family: Arial;">
<span style="font-weight: bold; text-decoration: underline;"><span
 style="font-family: Arial;">Class Construcor:</span><br>
</span><br>
<big><span style="font-family: Arial;">$text3d
= new text3d(</span><span
 style="color: rgb(204, 0, 0); font-family: Arial;">int distance, int
radius, int rotx, int roty, int rotz, array background color, array
text color, string font, int fontsize, string text</span><span
 style="font-family: Arial;">);</span></big><br>
<br>
<span style="font-weight: bold; font-family: Arial;">int distance</span><span
 style="font-family: Arial;">:</span><br style="font-family: Arial;">
<span style="font-family: Arial;">This integer can be used to change
height distance between pixels.</span><br style="font-family: Arial;">
<span style="font-family: Arial;">Distance to increase when this
integer&nbsp; major and distance to decrease when this integer minor.</span><br>
<img style="width: 198px; height: 114px;" alt=""
 src="example/pixeldis.gif"><br>
<br>
<span style="font-weight: bold; font-family: Arial;">int radius</span><span
 style="font-family: Arial;">:</span><br style="font-family: Arial;">
<span style="font-family: Arial;">This integer can be used to change
radius.</span><br style="font-family: Arial;">
</small></big><big><small><span style="font-family: Arial;">Radius to
increase when this integer&nbsp; major and radius to decrease when this
integer minor.</span><br>
<img style="width: 148px; height: 64px;" alt="" src="example/radius.gif"><br>
</small></big><br>
<span style="font-family: Arial; font-weight: bold;">int rotx, roty,
rotz</span>:<br>
<span style="font-family: Arial;">These integers can be used to define
the rotate angles.</span><br style="font-family: Arial;">
<span style="font-family: Arial;">Values of these integers keep from 0
to 360.</span><br style="font-family: Arial;">
<br style="font-family: Arial;">
<span style="font-family: Arial;"><span style="font-weight: bold;">rotx</span>
can be used to define vertical rotate.</span><br>
<img style="width: 198px; height: 114px;" alt=""
 src="example/vertical.gif"><br>
<br>
<span style="font-family: Arial;"><span style="font-weight: bold;">roty</span>
can be used to define horizontal rotate.</span><br>
<img style="width: 198px; height: 114px;" alt=""
 src="example/example.gif"><br>
<br>
<span style="font-family: Arial;"><span style="font-weight: bold;">rotz</span>
can be used to define circle rotate.</span><br>
<img style="width: 198px; height: 114px;" alt=""
 src="example/circle.gif"><br>
<br>
<span style="font-family: Arial;">These parameters can be used to
single or multiple.</span><br>
<img style="width: 198px; height: 114px;" alt=""
 src="example/multiple.gif"><br>
<br>
<span style="font-family: Arial;"><span style="font-weight: bold;">array
background, text color</span>:</span><br style="font-family: Arial;">
<span style="font-family: Arial;">These parameters can be used to set
the background and text color.</span><br style="font-family: Arial;">
<span style="font-family: Arial;">These parameters are array type and
them values are decimal from 0 to 255.</span><br
 style="font-family: Arial;">
<span style="font-family: Arial;">Typical constructor: <span
 style="font-weight: bold; color: rgb(102, 0, 0);">Array(r=&gt;255,
g=&gt;255, b=&gt;255)<br>
</span></span><span style="font-family: Arial;"><span
 style="font-weight: bold; color: rgb(102, 0, 0);"><span
 style="color: rgb(0, 0, 0);"></span></span></span><span
 style="font-family: Arial;"><br>
<br>
<span style="color: rgb(51, 204, 0);"></span></span><span
 style="font-family: Arial;"><span style="color: rgb(51, 204, 0);"><br>
</span></span>
<div style="text-align: center;"><span style="font-family: Arial;"><a
 href="http://www.gifs.hu">Text3D.class.php by http://gifs.hu</a><span
 style="color: rgb(51, 204, 0);"></span></span><br>
<span style="font-family: Arial;"><span style="color: rgb(51, 204, 0);"></span></span></div>
<span style="font-family: Arial;"><br>
<br>
</span></div>
<div style="text-align: left;"><br>
<big><big><span style="font-weight: bold;"></span></big></big></div>
</div>
</body>
</html>
Return current item: Text 3D