element ScreenFontStyle
diagram x3d-4.0_p192.png
type extension of X3DFontStyleNode
properties
content complex
children IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString
used by
groups SceneGraphFragmentContentModel TextChildContentModel
attributes
Name  Type  Use  Default  Fixed  Annotation
DEF  xs:ID        
appinfo

DEF defines a unique ID name for each node, referencable by other nodes.
USE  xs:IDREF        
appinfo

USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).
class  xs:NMTOKENS        
appinfo

The class attribute is a space-separated list of classes, reserved for use by XML stylesheets.
family  MFString    "SERIF"    
horizontal  SFBool    true    
justify  justifyValues    "BEGIN"    
language  SFString        
leftToRight  SFBool    true    
pointSize  derived by: SFFloat    12.0    
spacing  derived by: SFFloat    1.0    
style  fontStyleValues    PLAIN    
topToBottom  SFBool    true    
containerField  xs:NMTOKEN    fontStyle    
annotation
appinfo
<!-- optional values, can be extended -->
<xs:attribute name="family" type="fontFamilyValues"/>
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Layout"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
source <xs:element name="ScreenFontStyle">
 
<xs:annotation>
   
<xs:appinfo>
     
<!-- optional values, can be extended -->
     
<xs:attribute name="family" type="fontFamilyValues"/>
     
<xs:attribute name="componentName" type="xs:NMTOKEN" fixed="Layout"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
   
</xs:appinfo>
   
<xs:documentation source="http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/layout.html#ScreenFontStyle"/>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:complexContent>
     
<xs:extension base="X3DFontStyleNode">
       
<xs:attribute name="family" type="MFString" default='"SERIF"'/>
       
<xs:attribute name="horizontal" type="SFBool" default="true"/>
       
<xs:attribute name="justify" type="justifyValues" default='"BEGIN"'/>
       
<xs:attribute name="language" type="SFString"/>
       
<xs:attribute name="leftToRight" type="SFBool" default="true"/>
       
<xs:attribute name="pointSize" default="12.0">
         
<xs:simpleType>
           
<xs:restriction base="SFFloat">
             
<xs:minExclusive value="0"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="spacing" default="1.0">
         
<xs:simpleType>
           
<xs:restriction base="SFFloat">
             
<xs:minInclusive value="0"/>
           
</xs:restriction>
         
</xs:simpleType>
       
</xs:attribute>
       
<xs:attribute name="style" type="fontStyleValues" default="PLAIN"/>
       
<xs:attribute name="topToBottom" type="SFBool" default="true"/>
       
<xs:attribute name="containerField" type="xs:NMTOKEN" default="fontStyle"/>
     
</xs:extension>
   
</xs:complexContent>
 
</xs:complexType>
</xs:element>

attribute ScreenFontStyle/@family
type MFString
properties
default "SERIF"
source <xs:attribute name="family" type="MFString" default='"SERIF"'/>

attribute ScreenFontStyle/@horizontal
type SFBool
properties
default true
source <xs:attribute name="horizontal" type="SFBool" default="true"/>

attribute ScreenFontStyle/@justify
type justifyValues
properties
default "BEGIN"
facets
Kind Value Annotation
enumeration "MIDDLE"
enumeration "MIDDLE" "BEGIN"
enumeration "MIDDLE" "END"
enumeration "MIDDLE" "FIRST"
enumeration "MIDDLE" "MIDDLE"
enumeration "BEGIN"
enumeration "BEGIN" "BEGIN"
enumeration "BEGIN" "END"
enumeration "BEGIN" "FIRST"
enumeration "BEGIN" "MIDDLE"
enumeration "END"
enumeration "END" "BEGIN"
enumeration "END" "END"
enumeration "END" "FIRST"
enumeration "END" "MIDDLE"
enumeration "FIRST"
enumeration "FIRST" "BEGIN"
enumeration "FIRST" "END"
enumeration "FIRST" "FIRST"
enumeration "FIRST" "MIDDLE"
source <xs:attribute name="justify" type="justifyValues" default='"BEGIN"'/>

attribute ScreenFontStyle/@language
type SFString
source <xs:attribute name="language" type="SFString"/>

attribute ScreenFontStyle/@leftToRight
type SFBool
properties
default true
source <xs:attribute name="leftToRight" type="SFBool" default="true"/>

attribute ScreenFontStyle/@pointSize
type restriction of SFFloat
properties
default 12.0
facets
Kind Value Annotation
minExclusive 0
source <xs:attribute name="pointSize" default="12.0">
 
<xs:simpleType>
   
<xs:restriction base="SFFloat">
     
<xs:minExclusive value="0"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute ScreenFontStyle/@spacing
type restriction of SFFloat
properties
default 1.0
facets
Kind Value Annotation
minInclusive 0
source <xs:attribute name="spacing" default="1.0">
 
<xs:simpleType>
   
<xs:restriction base="SFFloat">
     
<xs:minInclusive value="0"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>

attribute ScreenFontStyle/@style
type fontStyleValues
properties
default PLAIN
facets
Kind Value Annotation
enumeration PLAIN
enumeration BOLD
enumeration ITALIC
enumeration BOLDITALIC
source <xs:attribute name="style" type="fontStyleValues" default="PLAIN"/>

attribute ScreenFontStyle/@topToBottom
type SFBool
properties
default true
source <xs:attribute name="topToBottom" type="SFBool" default="true"/>

attribute ScreenFontStyle/@containerField
type xs:NMTOKEN
properties
default fontStyle
source <xs:attribute name="containerField" type="xs:NMTOKEN" default="fontStyle"/>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy