Difference between revisions of "SHIP:Property:textmodel:textsize"

From Serious Documentation
Jump to: navigation, search
(Created page with "=== Node: All Box Model Nodes === {| class="wikitable" style="margin: 1em auto 1em auto;" ! scope="col" | Property ! scope="col" | Data Type ! scope="col" |...")
 
Line 1: Line 1:
=== Node: All [[SHIP:BoxModel|Box Model Nodes]] ===
+
=== Node: All [[SHIP:TextModel|Text Model Nodes]] ===
 
{| class="wikitable" style="margin: 1em auto 1em auto;"  
 
{| class="wikitable" style="margin: 1em auto 1em auto;"  
 
! scope="col" | Property
 
! scope="col" | Property
Line 7: Line 7:
 
|<onlyinclude>{{Prop|textmodel|textsize}}||{{DataType|Dimension}}|| Pixel height selector for displayable text. </onlyinclude>
 
|<onlyinclude>{{Prop|textmodel|textsize}}||{{DataType|Dimension}}|| Pixel height selector for displayable text. </onlyinclude>
 
|}
 
|}
The text size (textsize) property of any node that has a [[SHIP:TextModel|Text Model]] determines the height(in pixels) of the font used for that node. The height is the total height of the font, from the lowest descender to the top of the highest ascender.
+
The text size ({{Prop|textmodel|textsize}}) property of any node that has a [[SHIP:TextModel|Text Model]] determines the height(in pixels) of the font used for that node. The height is the total height of the font, from the lowest descender to the top of the highest ascender.
  
 
See the [[SHIP:TextModel|Text Model]] for more information on the text inheritance model.
 
See the [[SHIP:TextModel|Text Model]] for more information on the text inheritance model.

Revision as of 13:46, 29 January 2013

Node: All Text Model Nodes

Property Data Type Description
textsize Dimension Pixel height selector for displayable text.

The text size (textsize) property of any node that has a Text Model determines the height(in pixels) of the font used for that node. The height is the total height of the font, from the lowest descender to the top of the highest ascender.

See the Text Model for more information on the text inheritance model.