|
static PdfFormXObject |
CreateXObject (AbstractLinearGradientBuilder linearGradientBuilder, Rectangle xObjectArea, PdfDocument document) |
|
Create a iText.Kernel.Pdf.Xobject.PdfFormXObject with the given area and containing a linear gradient inside. More...
|
|
const float |
OVERLAP_EPSILON = 1e-4f |
|
|
BlockRenderer (IElement modelElement) |
|
Creates a BlockRenderer from its corresponding layout object. More...
|
|
virtual AbstractRenderer |
CreateSplitRenderer (int layoutResult) |
|
Creates a split renderer. More...
|
|
virtual AbstractRenderer |
CreateOverflowRenderer (int layoutResult) |
|
Creates an overflow renderer. More...
|
|
virtual void |
ApplyVerticalAlignment () |
|
This method applies vertical alignment for the occupied area of the renderer and its children renderers. More...
|
|
virtual void |
ApplyRotationLayout (Rectangle layoutBox) |
|
This method rotates content of the renderer and calculates correct occupied area for the rotated element. More...
|
|
virtual AffineTransform |
CreateRotationTransformInsideOccupiedArea () |
|
This method creates iText.Kernel.Geom.AffineTransform instance that could be used to rotate content inside the occupied area. More...
|
|
virtual void |
BeginRotationIfApplied (PdfCanvas canvas) |
|
This method starts rotation for the renderer if rotation angle property is specified. More...
|
|
virtual void |
EndRotationIfApplied (PdfCanvas canvas) |
|
This method ends rotation for the renderer if applied. More...
|
|
virtual PdfFont |
GetResolvedFont (PdfDocument pdfDocument) |
|
Get the font set in properties, if it is not set, then resolves the first iText.Kernel.Font.PdfFont from iText.Layout.Font.FontProvider. More...
|
|
|
AbstractRenderer () |
|
Creates a renderer. More...
|
|
|
AbstractRenderer (IElement modelElement) |
|
Creates a renderer for the specified layout element. More...
|
|
|
AbstractRenderer (iText.Layout.Renderer.AbstractRenderer other) |
|
Creates a new renderer based on an instance of another renderer. More...
|
|
virtual void |
BeginElementOpacityApplying (DrawContext drawContext) |
|
Apply Property.OPACITY property if specified by setting corresponding values in graphic state dictionary opacity will be applied to all elements drawn after calling this method and before calling EndElementOpacityApplying(DrawContext) ()}. More...
|
|
virtual void |
EndElementOpacityApplying (DrawContext drawContext) |
|
BeginElementOpacityApplying(DrawContext). More...
|
|
virtual Rectangle |
GetBackgroundArea (Rectangle occupiedAreaWithMargins) |
|
Evaluate the actual background More...
|
|
virtual bool |
ClipBorderArea (DrawContext drawContext, Rectangle outerBorderBox) |
|
virtual bool |
ClipBackgroundArea (DrawContext drawContext, Rectangle outerBorderBox) |
|
virtual bool |
ClipBackgroundArea (DrawContext drawContext, Rectangle outerBorderBox, bool considerBordersBeforeClipping) |
|
virtual void |
ApplyDestinationsAndAnnotation (DrawContext drawContext) |
|
virtual bool |
IsOverflowProperty (OverflowPropertyValue? equalsTo, int overflowProperty) |
|
virtual ? float |
RetrieveWidth (float parentBoxWidth) |
|
Retrieves element's fixed content box width, if it's set. More...
|
|
virtual ? float |
RetrieveMaxWidth (float parentBoxWidth) |
|
Retrieves element's fixed content box max width, if it's set. More...
|
|
virtual ? float |
RetrieveMinWidth (float parentBoxWidth) |
|
Retrieves element's fixed content box max width, if it's set. More...
|
|
virtual void |
UpdateWidth (UnitValue updatedWidthValue) |
|
Updates fixed content box width value for this renderer. More...
|
|
virtual ? float |
RetrieveHeight () |
|
Retrieves the element's fixed content box height, if it's set. More...
|
|
virtual void |
UpdateHeight (UnitValue updatedHeight) |
|
Updates fixed content box height value for this renderer. More...
|
|
virtual ? float |
RetrieveMaxHeight () |
|
Retrieve element's content box max-ehight, if it's set. More...
|
|
virtual void |
UpdateMaxHeight (UnitValue updatedMaxHeight) |
|
Updates content box max-height value for this renderer. More...
|
|
virtual ? float |
RetrieveMinHeight () |
|
Retrieves element's content box min-height, if it's set. More...
|
|
virtual void |
UpdateMinHeight (UnitValue updatedMinHeight) |
|
Updates content box min-height value for this renderer. More...
|
|
virtual ? float |
RetrieveUnitValue (float baseValue, int property) |
|
virtual ? float |
RetrieveUnitValue (float baseValue, int property, bool pointOnly) |
|
virtual IDictionary< int, Object > |
GetOwnProperties () |
|
virtual void |
AddAllProperties (IDictionary< int, Object > properties) |
|
virtual ? float |
GetFirstYLineRecursively () |
|
Gets the first yLine of the nested children recursively. More...
|
|
virtual ? float |
GetLastYLineRecursively () |
|
virtual bool |
AllowLastYLineRecursiveExtraction () |
|
virtual Rectangle |
ApplyMargins (Rectangle rect, UnitValue[] margins, bool reverse) |
|
Applies given margins on the given rectangle More...
|
|
virtual UnitValue[] |
GetMargins () |
|
Returns margins of the renderer [0] - top; [1] - right; [2] - bottom; [3] - left More...
|
|
virtual UnitValue[] |
GetPaddings () |
|
Returns paddings of the renderer [0] - top; [1] - right; [2] - bottom; [3] - left More...
|
|
virtual Rectangle |
ApplyPaddings (Rectangle rect, UnitValue[] paddings, bool reverse) |
|
Applies given paddings to the given rectangle. More...
|
|
virtual Rectangle |
ApplyBorderBox (Rectangle rect, Border[] borders, bool reverse) |
|
Applies the given border box (borders) on the given rectangle More...
|
|
virtual void |
ApplyAbsolutePosition (Rectangle parentRect) |
|
virtual void |
ApplyRelativePositioningTranslation (bool reverse) |
|
virtual void |
ApplyDestination (PdfDocument document) |
|
virtual void |
ApplyAction (PdfDocument document) |
|
virtual void |
ApplyLinkAnnotation (PdfDocument document) |
|
virtual void |
UpdateHeightsOnSplit (bool wasHeightClipped, iText.Layout.Renderer.AbstractRenderer splitRenderer, iText.Layout.Renderer.AbstractRenderer overflowRenderer) |
|
virtual bool |
SetMinMaxWidthBasedOnFixedWidth (MinMaxWidth minMaxWidth) |
|
virtual bool |
IsNotFittingHeight (LayoutArea layoutArea) |
|
virtual bool |
IsNotFittingWidth (LayoutArea layoutArea) |
|
virtual bool |
IsNotFittingLayoutArea (LayoutArea layoutArea) |
|
virtual bool |
IsPositioned () |
|
Indicates whether the renderer's position is fixed or not. More...
|
|
virtual bool |
IsFixedLayout () |
|
Indicates whether the renderer's position is fixed or not. More...
|
|
virtual bool |
IsStaticLayout () |
|
virtual bool |
IsRelativePosition () |
|
virtual bool |
IsAbsolutePosition () |
|
virtual bool |
IsKeepTogether () |
|
virtual void |
AlignChildHorizontally (IRenderer childRenderer, Rectangle currentArea) |
|
virtual Border[] |
GetBorders () |
|
Gets borders of the element in the specified order: top, right, bottom, left. More...
|
|
virtual BorderRadius[] |
GetBorderRadii () |
|
Gets border radii of the element in the specified order: top-left, top-right, bottom-right, bottom-left. More...
|
|
virtual iText.Layout.Renderer.AbstractRenderer |
SetBorders (Border border, int borderNumber) |
|
virtual Rectangle |
CalculateAbsolutePdfBBox () |
|
Calculates the bounding box of the content in the coordinate system of the pdf entity on which content is placed, e.g. document page or form xObject. More...
|
|
virtual Rectangle |
CalculateBBox (IList< Point > points) |
|
Calculates bounding box around points. More...
|
|
virtual IList< Point > |
RectangleToPointsList (Rectangle rect) |
|
virtual IList< Point > |
TransformPoints (IList< Point > points, AffineTransform transform) |
|
virtual float[] |
CalculateShiftToPositionBBoxOfPointsAt (float left, float top, IList< Point > points) |
|
This method calculates the shift needed to be applied to the points in order to position upper and left borders of their bounding box at the given lines. More...
|
|
virtual bool |
HasAbsoluteUnitValue (int property) |
|
Check if corresponding property has point value. More...
|
|
virtual bool |
HasRelativeUnitValue (int property) |
|
Check if corresponding property has relative value. More...
|
|
virtual void |
BeginTransformationIfApplied (PdfCanvas canvas) |
|
virtual void |
EndTransformationIfApplied (PdfCanvas canvas) |
|
static bool |
IsBorderBoxSizing (IRenderer renderer) |
|
static bool |
IsOverflowProperty (OverflowPropertyValue? equalsTo, IRenderer renderer, int overflowProperty) |
|
static bool |
IsOverflowProperty (OverflowPropertyValue? equalsTo, OverflowPropertyValue? rendererOverflowProperty) |
|
static bool |
IsOverflowFit (OverflowPropertyValue? rendererOverflowProperty) |
|
IList< IRenderer > |
childRenderers = new List<IRenderer>() |
|
IList< IRenderer > |
positionedRenderers = new List<IRenderer>() |
|
IPropertyContainer |
modelElement |
|
bool |
flushed = false |
|
LayoutArea |
occupiedArea |
|
IRenderer |
parent |
|
IDictionary< int, Object > |
properties = new Dictionary() |
|
bool |
isLastRendererForModelElement = true |
|
const float |
EPS = 1e-4f |
|
The maximum difference between iText.Kernel.Geom.Rectangle coordinates to consider rectangles equal More...
|
|
const float |
INF = 1e6f |
|
The infinity value which is used while layouting More...
|
|