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_BORDERFields inherited from interface com.helger.pdflayout.base.IPLHasMargin
DEFAULT_MARGINFields inherited from interface com.helger.pdflayout.base.IPLHasPadding
DEFAULT_PADDING -
Method Summary
Modifier and TypeMethodDescriptiondefault floatdefault floatdefault floatdefault floatdefault floatSum of left and right outlinedefault floatSum of top and bottom outlineMethods inherited from interface com.helger.commons.traits.IGenericImplTrait
thisAsTMethods 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, setBorderYMethods 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, setMarginYMethods 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 Details
-
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()
-