Package com.helger.pdflayout.base
Interface IPLHasMarginBorderPadding<IMPLTYPE extends IPLHasMarginBorderPadding<IMPLTYPE>>
-
- Type Parameters:
IMPLTYPE- Implementation type
- All Superinterfaces:
com.helger.commons.traits.IGenericImplTrait<IMPLTYPE>,IPLHasBorder<IMPLTYPE>,IPLHasMargin<IMPLTYPE>,IPLHasOutline,IPLHasPadding<IMPLTYPE>
- All Known Subinterfaces:
IPLBlockElement<IMPLTYPE>,IPLElement<IMPLTYPE>,IPLInlineElement<IMPLTYPE>
- All Known Implementing Classes:
AbstractPLBlockElement,AbstractPLBox,AbstractPLElement,AbstractPLExternalLink,AbstractPLImage,AbstractPLInlineBox,AbstractPLInlineElement,AbstractPLText,PLBox,PLExternalLink,PLImage,PLMarginBorderPadding,PLPageSet,PLStreamImage,PLTableCell,PLText
public interface IPLHasMarginBorderPadding<IMPLTYPE extends IPLHasMarginBorderPadding<IMPLTYPE>> extends IPLHasMargin<IMPLTYPE>, IPLHasPadding<IMPLTYPE>, IPLHasBorder<IMPLTYPE>
Base interface for objects having a margin, a border and a padding- Author:
- Philip Helger
-
-
Field Summary
-
Fields inherited from interface com.helger.pdflayout.base.IPLHasBorder
DEFAULT_BORDER
-
Fields inherited from interface com.helger.pdflayout.base.IPLHasMargin
DEFAULT_MARGIN
-
Fields inherited from interface com.helger.pdflayout.base.IPLHasPadding
DEFAULT_PADDING
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default floatgetOutlineBottom()default floatgetOutlineLeft()default floatgetOutlineRight()default floatgetOutlineTop()default floatgetOutlineXSum()Sum of left and right outlinedefault floatgetOutlineYSum()Sum of top and bottom outline-
Methods inherited from interface com.helger.pdflayout.base.IPLHasBorder
getBorder, getBorderBottomWidth, getBorderLeftWidth, getBorderRightWidth, getBorderTopWidth, getBorderXSumWidth, getBorderYSumWidth, setBorder, setBorder, setBorder, setBorder, setBorder, setBorderBottom, setBorderLeft, setBorderRight, setBorderTop, setBorderX, setBorderY
-
Methods inherited from interface com.helger.pdflayout.base.IPLHasMargin
addMarginBottom, addMarginLeft, addMarginRight, addMarginTop, addMarginX, addMarginY, getMargin, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMarginXSum, getMarginYSum, setMargin, setMargin, setMargin, setMargin, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMarginX, setMarginY
-
Methods inherited from interface com.helger.pdflayout.base.IPLHasPadding
addPaddingBottom, addPaddingLeft, addPaddingRight, addPaddingTop, addPaddingX, addPaddingY, getPadding, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPaddingXSum, getPaddingYSum, setPadding, setPadding, setPadding, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPaddingX, setPaddingY
-
-
-
-
Method Detail
-
getOutlineTop
default float getOutlineTop()
- Specified by:
getOutlineTopin interfaceIPLHasBorder<IMPLTYPE extends IPLHasMarginBorderPadding<IMPLTYPE>>- Specified by:
getOutlineTopin interfaceIPLHasMargin<IMPLTYPE extends IPLHasMarginBorderPadding<IMPLTYPE>>- Specified by:
getOutlineTopin interfaceIPLHasOutline- Specified by:
getOutlineTopin interfaceIPLHasPadding<IMPLTYPE extends IPLHasMarginBorderPadding<IMPLTYPE>>- Returns:
- margin top + border top + padding top.
-
getOutlineRight
default float getOutlineRight()
- Specified by:
getOutlineRightin interfaceIPLHasBorder<IMPLTYPE extends IPLHasMarginBorderPadding<IMPLTYPE>>- Specified by:
getOutlineRightin interfaceIPLHasMargin<IMPLTYPE extends IPLHasMarginBorderPadding<IMPLTYPE>>- Specified by:
getOutlineRightin interfaceIPLHasOutline- Specified by:
getOutlineRightin interfaceIPLHasPadding<IMPLTYPE extends IPLHasMarginBorderPadding<IMPLTYPE>>- Returns:
- margin right + border right + padding right.
-
getOutlineBottom
default float getOutlineBottom()
- Specified by:
getOutlineBottomin interfaceIPLHasBorder<IMPLTYPE extends IPLHasMarginBorderPadding<IMPLTYPE>>- Specified by:
getOutlineBottomin interfaceIPLHasMargin<IMPLTYPE extends IPLHasMarginBorderPadding<IMPLTYPE>>- Specified by:
getOutlineBottomin interfaceIPLHasOutline- Specified by:
getOutlineBottomin interfaceIPLHasPadding<IMPLTYPE extends IPLHasMarginBorderPadding<IMPLTYPE>>- Returns:
- margin bottom + border bottom + padding bottom.
-
getOutlineLeft
default float getOutlineLeft()
- Specified by:
getOutlineLeftin interfaceIPLHasBorder<IMPLTYPE extends IPLHasMarginBorderPadding<IMPLTYPE>>- Specified by:
getOutlineLeftin interfaceIPLHasMargin<IMPLTYPE extends IPLHasMarginBorderPadding<IMPLTYPE>>- Specified by:
getOutlineLeftin interfaceIPLHasOutline- Specified by:
getOutlineLeftin interfaceIPLHasPadding<IMPLTYPE extends IPLHasMarginBorderPadding<IMPLTYPE>>- Returns:
- margin left + border left + padding left.
-
getOutlineXSum
default float getOutlineXSum()
Description copied from interface:IPLHasOutlineSum of left and right outline- Specified by:
getOutlineXSumin interfaceIPLHasBorder<IMPLTYPE extends IPLHasMarginBorderPadding<IMPLTYPE>>- Specified by:
getOutlineXSumin interfaceIPLHasMargin<IMPLTYPE extends IPLHasMarginBorderPadding<IMPLTYPE>>- Specified by:
getOutlineXSumin interfaceIPLHasOutline- Specified by:
getOutlineXSumin interfaceIPLHasPadding<IMPLTYPE extends IPLHasMarginBorderPadding<IMPLTYPE>>- Returns:
IPLHasOutline.getOutlineLeft()+IPLHasOutline.getOutlineRight()
-
getOutlineYSum
default float getOutlineYSum()
Description copied from interface:IPLHasOutlineSum of top and bottom outline- Specified by:
getOutlineYSumin interfaceIPLHasBorder<IMPLTYPE extends IPLHasMarginBorderPadding<IMPLTYPE>>- Specified by:
getOutlineYSumin interfaceIPLHasMargin<IMPLTYPE extends IPLHasMarginBorderPadding<IMPLTYPE>>- Specified by:
getOutlineYSumin interfaceIPLHasOutline- Specified by:
getOutlineYSumin interfaceIPLHasPadding<IMPLTYPE extends IPLHasMarginBorderPadding<IMPLTYPE>>- Returns:
IPLHasOutline.getOutlineTop()+IPLHasOutline.getOutlineBottom()
-
-