Text文本造型节点
来源:互联网 发布:僵尸道长本港台源码 编辑:程序博客网 时间:2024/04/27 19:47
Text文本造型域、域名和域值:
DEF为节点定义一个名字,给该节点定义了唯一的ID,在其他节点就可以引用这个节点;
USE用来引用DEF定义的节点ID,即引用DEF定义的节点名字,同时忽略其他的属性和子对象;
string域:指定了要创建的文本内容,其域值可以是是一行文本,也可以是多行文本;
length:用来指定文本字符的长度;
maxExtendt域:指定了我文本造型中所对应的行的最大有效长度;
fontStyle域:用来定义文本造型的外观特征;
solid域:定义一个布尔量,当该值为“true”时,表示只构Text文本造型的表面,不构建背面,当该值为“false”时,表示Text文本造型的正面和背面均被构建,默认值是“true”;
linBounds域:定义一个Text文本造型在本地的坐标系统中,由每条线围成的二维文本造型区域;
textBounds域:定义一个Text文本造型在本地的坐标系统中,由所有线围成的二维文本造型区域;
containerField域:表示容器域是field域标签的前缀,表示了子节点与父节点的关系;
class域:是用空格分开的类的列表,保留给XML样式表使用,只有X3D场景用XML编码时才支持class属性。
源代码:
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE X3D PUBLIC "http://www.web3d.org/specifications/x3d-3.1.dtd"
- "file:///www.web3d.org/TaskGroups/x3d/translation/x3d-3.1.dtd">
- <!--Warning: transitional DOCTYPE in source .x3d file-->
- <X3D profile="Immersive" version="3.1"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="http://www.web3d.org/specifications/x3d-3.1.xsd">
- <head>
- <meta content="px3d5-6.x3d" name="filename"/>
- <meta content="zjz-zjr-zjd" name="author"/>
- <meta content="*enter name of original author here*" name="creator"/>
- <meta
- content="*enter copyright information here* Example: Copyright (c) Web3D Consortium Inc. 2006" name="rights"/>
- <meta
- content="*enter online Uniform Resource Identifier (URI) or Uniform Resource Locator (URL) address for this file here*" name="identifier"/>
- <meta
- content="X3D-Edit, http://www.web3d.org/x3d/content/README.X3D-Edit.html" name="generator"/>
- </head>
- <Scene>
- <Background skyAngle="1.571" skyColor="0.2 0.2 1.0 1.0 1.0 1.0"/>
- <Shape>
- <Appearance>
- <Material ambientIntensity="0.1" diffuseColor="0.8 0.2 0.2"
- shininess="0.15" specularColor="0.8 0.8 0.8" transparency="0"/>
- </Appearance>
- <Text length="8.0,9.0" maxExtent="12.0" string=""X3D Scene", "How are you!!!""/>
- </Shape>
- </Scene>
- </X3D>
- Text文本造型节点
- Appearance物体造型外观节点
- X3D二维空间造型节点
- jQuery获取文本节点之 text()/val()/html() 方法区别
- jQuery获取文本节点之 text()/val()/html() 方法区别
- jQuery获取文本节点之 text()/val()/html() 方法区别
- VRML---第二章(几何造型节点)
- 造型
- ASP.NET treeview与xml实现动态添加节点,元素,文本(text)
- 挤压造型Extrusion的节点说明和应用实例
- VRML---第三章第二部分(造型群节点)
- input text文本替换
- 文本的text-overflow
- sublime text 文本编辑器
- 文本属性Text effect
- CSS(3) Text(文本)
- text-overflow溢出文本
- text-shadow阴影文本
- Access 2003 VBA Programmer's Reference
- VMWare-tools无法共享文件夹解决方法
- The Art of SQL
- Visual Basic 2005 Programmer's Reference
- Professional VB 2005
- Text文本造型节点
- 宝宝趣事20080829
- Professional .NET 2.0 Generics
- VMware Workstation 6.0.5 build 109488.Incl.KeyGen by EMBRACE
- 无题--thinking......
- 不要说"我失业了"
- XSLT 2.0 Programmer's Reference, Third Edition
- 讲一口漂亮流利的英语
- WinRAR 3.80 beta 5