element ScreenFontStyle
diagram x3d-4.0_diagrams/x3d-4.0_p211.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, referenceable 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 Cascading Style Sheets (CSS) and XML stylesheets.
                    This attribute is only functional if the X3D model is loaded within an HTML page.
               
id  xs:NMTOKEN        
appinfo

                    The id attribute is a unique identifier, reserved for use by HTML5/DOM pages, independent of DEF labeling and internal X3D node referencing.
                    This attribute is only functional if the X3D model is loaded within an HTML page.
               
family  MFString    "SERIF"    
horizontal  SFBool    true    
justify  justifyChoices    "BEGIN"    
language  SFString        
leftToRight  SFBool    true    
pointSize  derived by: SFFloat    12.0    
spacing  derived by: SFFloat    1.0    
style  fontStyleChoices    PLAIN    
appinfo

                                The style field can also be used for Cascading Style Sheets (CSS) style values.
                           
topToBottom  SFBool    true    
containerField  xs:NMTOKEN    fontStyle    
annotation
appinfo
<!-- optional values, can be extended -->
<xs:attribute name="family" type="fontFamilyValues" fixed="inputOutputField"/>
<xs:attribute name="componentName" type="componentNameChoices" 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" fixed="inputOutputField"/>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Layout"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
   
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/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="justifyChoices" 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="fontStyleChoices" default="PLAIN">
         
<xs:annotation>
           
<xs:appinfo>
                                The style field can also be used for Cascading Style Sheets (CSS) style values.
                           
</xs:appinfo>
           
<xs:documentation source="https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/htmlGuidelines.html#CSS"/>
         
</xs:annotation>
       
</xs:attribute>
       
<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 justifyChoices
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="justifyChoices" 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
pattern \s*([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*
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
pattern \s*([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*
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 fontStyleChoices
properties
default PLAIN
facets
Kind Value Annotation
enumeration PLAIN
appinfo
default plain type
enumeration BOLD
appinfo
boldface type
enumeration ITALIC
appinfo
italic type
enumeration BOLDITALIC
appinfo
bold and italic type
annotation
appinfo

                                The style field can also be used for Cascading Style Sheets (CSS) style values.
                           
source <xs:attribute name="style" type="fontStyleChoices" default="PLAIN">
 
<xs:annotation>
   
<xs:appinfo>
                                The style field can also be used for Cascading Style Sheets (CSS) style values.
                           
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/htmlGuidelines.html#CSS"/>
 
</xs:annotation>
</xs:attribute>

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