public class FilledArea extends InlineParent
InlineArea.InlineAdjustingInfo
autoSize, inlines, minChildOffset
adjustingInfo, blockProgressionOffset
bidiLevel, bpd, CLASS_ABSOLUTE, CLASS_BEFORE_FLOAT, CLASS_FIXED, CLASS_FOOTNOTE, CLASS_MAX, CLASS_NORMAL, CLASS_SIDE_FLOAT, effectiveIPD, ipd, log, ORIENT_0, ORIENT_180, ORIENT_270, ORIENT_90, traits
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<InlineArea> |
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, collectInlineRuns, resetChildrenLevel
getAdjustingInfo, getBlockProgressionOffset, getParentArea, handleIPDVariation, hasLineThrough, hasOverline, hasUnderline, increaseIPD, isAncestor, isAncestorOrSelf, isBlinking, notifyIPDVariation, setAdjustingInfo, setAdjustingInfo, setAdjustment, setBlockProgressionOffset, setParentArea
activateEffectiveIPD, addTrait, clone, getAllocBPD, getAllocIPD, getAreaClass, getBidiLevel, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getEffectiveAllocIPD, getEffectiveIPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsBoolean, getTraitAsInteger, getTraits, hasTrait, hasTraits, resetBidiLevel, setAreaClass, setBidiLevel, setBPD, setIPD, setTraits, setWritingModeTraits, 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<InlineArea> 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-2017 The Apache Software Foundation. All Rights Reserved.