public class FilledArea extends InlineParent
InlineArea.InlineAdjustingInfo
autoSize, inlines
adjustingInfo, offset
bpd, BT, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, ipd, log, LR, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, props, RL, TB
extensionAttachments, foreignAttributes
Constructor and Description |
---|
FilledArea()
Create a new filled area.
|
Modifier and Type | Method and Description |
---|---|
boolean |
applyVariationFactor(double variationFactor,
int lineStretch,
int lineShrink)
Recursively apply the variation factor to all descendant areas
|
int |
getBPD()
Get the block progression dimension of the content rectangle
for this area.
|
java.util.List |
getChildAreas()
Get the child areas for this filled area.
|
int |
getUnitWidth()
Return the unit width for the areas to fill the full width.
|
void |
setUnitWidth(int width)
Set the unit width for the areas to fill the full width.
|
addChildArea
getAdjustingInfo, getOffset, getParentArea, handleIPDVariation, hasLineThrough, hasOverline, hasUnderline, increaseIPD, isBlinking, notifyIPDVariation, setAdjustingInfo, setAdjustment, setOffset, setParentArea
addTrait, getAllocBPD, getAllocIPD, getAreaClass, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsBoolean, getTraitAsInteger, getTraits, hasTrait, hasTraits, setAreaClass, setBPD, setIPD, toString
addExtensionAttachment, getExtensionAttachments, getForeignAttributes, getForeignAttributeValue, hasExtensionAttachments, setExtensionAttachments, setForeignAttribute, setForeignAttributes
public void setUnitWidth(int width)
width
- the unit widthpublic int getUnitWidth()
public int getBPD()
public java.util.List getChildAreas()
getChildAreas
in class InlineParent
public boolean applyVariationFactor(double variationFactor, int lineStretch, int lineShrink)
applyVariationFactor
in class InlineParent
variationFactor
- the variation factor that must be applied to adjustmentslineStretch
- the total stretch of the linelineShrink
- the total shrink of the lineCopyright 1999-2010 The Apache Software Foundation. All Rights Reserved.