public class FilledArea extends InlineParent
InlineArea.InlineAdjustingInfoautoSize, inlines, minChildOffsetadjustingInfo, blockProgressionOffsetbidiLevel, 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, traitsextensionAttachments, 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, resetChildrenLevelgetAdjustingInfo, getBlockProgressionOffset, getParentArea, handleIPDVariation, hasLineThrough, hasOverline, hasUnderline, increaseIPD, isAncestor, isAncestorOrSelf, isBlinking, notifyIPDVariation, setAdjustingInfo, setAdjustingInfo, setAdjustment, setBlockProgressionOffset, setParentAreaactivateEffectiveIPD, addTrait, clone, getAllocBPD, getAllocIPD, getAreaClass, getBidiLevel, getBorderAndPaddingWidthAfter, getBorderAndPaddingWidthBefore, getBorderAndPaddingWidthEnd, getBorderAndPaddingWidthStart, getChangeBarList, getEffectiveAllocIPD, getEffectiveIPD, getIPD, getSpaceAfter, getSpaceBefore, getSpaceEnd, getSpaceStart, getTrait, getTraitAsBoolean, getTraitAsInteger, getTraits, hasTrait, hasTraits, resetBidiLevel, setAreaClass, setBidiLevel, setBPD, setChangeBarList, setIPD, setTraits, setWritingModeTraits, toStringaddExtensionAttachment, getExtensionAttachments, getForeignAttributes, getForeignAttributeValue, hasExtensionAttachments, setExtensionAttachments, setForeignAttribute, setForeignAttributespublic void setUnitWidth(int width)
width - the unit widthpublic int getUnitWidth()
public int getBPD()
public java.util.List<InlineArea> getChildAreas()
getChildAreas in class InlineParentpublic boolean applyVariationFactor(double variationFactor,
int lineStretch,
int lineShrink)
applyVariationFactor in class InlineParentvariationFactor - the variation factor that must be applied to adjustmentslineStretch - the total stretch of the linelineShrink - the total shrink of the lineCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.