SHIP:Property:boxmodel:innercolor

From Serious Documentation
Jump to: navigation, search

Node: All Box Model Nodes

Property Data Type Description
innercolor Color Inner color of a box, filling the box completely within the inner area after padding is applied; not present on lightweight box model nodes such as frame and textframe.

The inner color (innercolor) property of the box flood fills the visible area of the box completely out to the inner edges of the padding, but does not fill any padding 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 innercolor can be any color and any opacity -- from fully transparent to fully opaque.