We use a simplified version of CSS positioning. More...
|
const int |
STATIC = 1 |
|
Default positioning by normal rules of block and line layout. More...
|
|
const int |
RELATIVE = 2 |
|
Relative positioning is exactly like static positioning except that the left, top, right and bottom properties can be used to apply a translation to the object. More...
|
|
const int |
ABSOLUTE = 3 |
|
Absolute positioned objects are positioned relative to the containing block, which is the nearest enclosing ancestor block with a position other than 'static'. More...
|
|
const int |
FIXED = 4 |
|
Fixed positioned objects are positioned relative to the viewport, i.e., the page area of the current page. More...
|
|
We use a simplified version of CSS positioning.
We use a simplified version of CSS positioning. See https://www.webkit.org/blog/117/webcore-rendering-iv-absolutefixed-and-relative-positioning
◆ ABSOLUTE
const int iText.Layout.Layout.LayoutPosition.ABSOLUTE = 3 |
|
static |
Absolute positioned objects are positioned relative to the containing block, which is the nearest enclosing ancestor block with a position other than 'static'.
◆ FIXED
const int iText.Layout.Layout.LayoutPosition.FIXED = 4 |
|
static |
Fixed positioned objects are positioned relative to the viewport, i.e., the page area of the current page.
◆ RELATIVE
const int iText.Layout.Layout.LayoutPosition.RELATIVE = 2 |
|
static |
Relative positioning is exactly like static positioning except that the left, top, right and bottom properties can be used to apply a translation to the object.
Relative positioning is exactly like static positioning except that the left, top, right and bottom properties can be used to apply a translation to the object. Relative positioning is literally nothing more than a paint-time translation. As far as layout is concerned, the object is at its original position.
◆ STATIC
const int iText.Layout.Layout.LayoutPosition.STATIC = 1 |
|
static |
Default positioning by normal rules of block and line layout.