Difference between revisions of "SHIP:Property:boxmodel:fillcolor"

From Serious Documentation
Jump to: navigation, search
(Created page with "=== Node: {{Node|box}} === {| class="wikitable" style="margin: 1em auto 1em auto;" ! scope="col" | Property ! scope="col" | Data Type ! scope="col" | Description |- |<onlyinc...")
 
(Node: {{Node|box}})
Line 7: Line 7:
 
|<onlyinclude>{{Prop|box|fillcolor}}||{{DataType|Color}}|| Sets the fill color of a {{Node|box}} which floods the box completely within the margin area. </onlyinclude>
 
|<onlyinclude>{{Prop|box|fillcolor}}||{{DataType|Color}}|| Sets the fill color of a {{Node|box}} which floods the box completely within the margin area. </onlyinclude>
 
|}
 
|}
The fill color (fillcolor) property of the box flood fills the visible area of the box completely out to the inner edges of the margins, but does not fill any margin area. This fill happens ''after'' {{Prop|box|bgcolor}} and any attached {{Node|image}} is drawn. 
+
The fill color (fillcolor) property of the box flood fills the visible area of the box completely out to the inner edges of the margins, but does not fill any margin area.  
 +
 
 +
The order of the box rendering/calculation is as follows:
 +
 
 +
* Background color ({{Prop|box|bgcolor}})
 +
* Margins applied ({{Prop|box|ml}},{{Prop|box|mr}},{{Prop|box|mt}},{{Prop|box|mb}})
 +
* Attached image object (centered in margins)
 +
* Borders ({{Prop|box|bl}},{{Prop|box|br}},{{Prop|box|bt}},{{Prop|box|bb}})
 +
* Fill color ({{Prop|box|fillcolor}})
 +
* Padding applied ({{Prop|box|pl}},{{Prop|box|pr}},{{Prop|box|pt}},{{Prop|box|pb}})
 +
* Inner color ({{Prop|box|innercolor}})
 +
* Contents of the {{Node|box}}
  
 
The '''fillcolor''' can be any color and any opacity -- from fully transparent to fully opaque.
 
The '''fillcolor''' can be any color and any opacity -- from fully transparent to fully opaque.

Revision as of 08:40, 20 January 2013

Node: box

Property Data Type Description
fillcolor Color Sets the fill color of a box which floods the box completely within the margin area.

The fill color (fillcolor) property of the box flood fills the visible area of the box completely out to the inner edges of the margins, but does not fill any margin area.

The order of the box rendering/calculation is as follows:

The fillcolor can be any color and any opacity -- from fully transparent to fully opaque.