public class FilledArea extends InlineParent
InlineArea.InlineAdjustingInfo
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
adjustingInfo, blockProgressionOffset
autoSize, inlines, minChildOffset
Constructor | Description |
---|---|
FilledArea() |
Create a new filled area.
|
Modifier and Type | Method | 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.
|
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
getAdjustingInfo, getBlockProgressionOffset, getParentArea, handleIPDVariation, hasLineThrough, hasOverline, hasUnderline, increaseIPD, isAncestor, isAncestorOrSelf, isBlinking, notifyIPDVariation, setAdjustingInfo, setAdjustingInfo, setAdjustment, setBlockProgressionOffset, setParentArea
addChildArea, collectInlineRuns, resetChildrenLevel
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-2016 The Apache Software Foundation. All Rights Reserved.