Changes

Jump to: navigation, search

Canvas 3D - Circle Tag

640 bytes removed, 10:58, 13 April 2007
Cube Tag Reference
= Arc Circle Tag Reference =
[[XML_3D_-_BTS530/630 Project|Back To XML 3D Main Page]]
== Introduction ==
The Arc Circle is one of the basic 2D primitives that can be created on the flywithin canvas. The Arc Circle Tag encompasses the various attributes that are associated with a ArcCircle, such as position, size and orientation. In addition, the Arc can be textured with a predefined image from a specific locationheight, as well as drawing styles.
== Tag Attributes ==
* name
** '''Usage:''' <sphere name="mysphere" />.
** The ''name'' attribute is optional. If omited, the name is not used and thus cannot be retrieved within JavaScript.
** The Arc is given an Identifier so that It can be retrieved and modified within JavaScript.
** The name is a only accepts a string of Alpha-numeric characters.
* position
** '''Usage:''' <arc circle position="0.335, 5.5, 3.853" />.** The ''position'' attribute is optional. If omited, the position defaults to the Origin location at {0.0, 0.0, 0.0}.** The position attribute holds a set of three floating point two numbers separated by commas that are associated with the distance away from the Origin Point on the X, Y, and Z axis.* orientation** '''Usage:''' <arc orientation="1.0, 1.of (0, 1.0" />.** The ''orientation'' attribute defines the direction in which the Arc is facing. The direction is defined by a vector value.** The orientation value only accepts three numbers that are separated by commas).
* size
** '''Usage:''' <arc circle size="0.440" />.** The ''size'' attribute defines the diameter size of the Sphere on the screencircle.** ''This attribute cannot be omitted.''* texturefillcolor** '''Usage:''' <arc texturecircle fillcolor="mytexture#00FF00" />.** The ''texturefillcolor'' attribute contains the name identifier of sets a texture specific color that is defined will be painted inside the canvas tagcircle.** If the texture does not exist or is not definedThis value, if omitted, will default to black (#000000).* bordercolor** '''Usage:''' <circle bordercolor="#FF00FF" />.** The ''bordercolor'' attribute sets a default specific color of white is applied to the Arcborder.** The attribute must If omitted, the circle will be Alpha-numeric and must point to a defined texture tagdrawn borderless.
== Syntax ==
<pre>
<canvas>
<arc name="myarc" circle position="0.0, 0.340, 0.540" orientationsize="0.2, 0.6, 1.330" sizefillcolor="1.9#09a" texturebordercolor="mytexture#000" />
</canvas>
</pre>
1
edit

Navigation menu