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

From Serious Documentation
Jump to: navigation, search
(Node: {{Node|box}})
(Node: {{Node|box}})
Line 5: Line 5:
 
! scope="col" | Description
 
! scope="col" | Description
 
|-
 
|-
|<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|boxmodel|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.  
 
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.  
Line 11: Line 11:
 
The order of the box rendering/calculation is as follows:
 
The order of the box rendering/calculation is as follows:
  
* Background color ({{Prop|box|bgcolor}}) drawn
+
* Background color ({{Prop|boxmodel|bgcolor}}) drawn
* Margins applied ({{Prop|box|ml}},{{Prop|box|mr}},{{Prop|box|mt}},{{Prop|box|mb}})
+
* Margins applied ({{Prop|boxmodel|ml}},{{Prop|boxmodel|mr}},{{Prop|boxmodel|mt}},{{Prop|boxmodel|mb}})
 
* Attached image object (centered in margins) drawn
 
* Attached image object (centered in margins) drawn
* Borders ({{Prop|box|bl}},{{Prop|box|br}},{{Prop|box|bt}},{{Prop|box|bb}}) applied and drawn
+
* Borders ({{Prop|boxmodel|bl}},{{Prop|boxmodel|br}},{{Prop|boxmodel|bt}},{{Prop|boxmodel|bb}}) applied and drawn
* Fill color ({{Prop|box|fillcolor}}) drawn within borders
+
* Fill color ({{Prop|boxmodel|fillcolor}}) drawn within borders
* Padding applied ({{Prop|box|pl}},{{Prop|box|pr}},{{Prop|box|pt}},{{Prop|box|pb}})
+
* Padding applied ({{Prop|boxmodel|pl}},{{Prop|boxmodel|pr}},{{Prop|boxmodel|pt}},{{Prop|boxmodel|pb}})
* Inner color ({{Prop|box|innercolor}}) drawn
+
* Inner color ({{Prop|boxmodel|innercolor}}) drawn
 
* Contents of the {{Node|box}} drawn
 
* Contents of the {{Node|box}} drawn
  
 
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:27, 21 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:

  • Background color (bgcolor) drawn
  • Margins applied (ml,mr,mt,mb)
  • Attached image object (centered in margins) drawn
  • Borders (bl,br,bt,bb) applied and drawn
  • Fill color (fillcolor) drawn within borders
  • Padding applied (pl,pr,pt,pb)
  • Inner color (innercolor) drawn
  • Contents of the box drawn

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