Interface IPLHasOutline

All Known Subinterfaces:
IPLBlockElement<IMPLTYPE>, IPLElement<IMPLTYPE>, IPLHasBorder<IMPLTYPE>, IPLHasHorizontalAlignment<IMPLTYPE>, IPLHasMargin<IMPLTYPE>, IPLHasMarginBorderPadding<IMPLTYPE>, IPLHasPadding<IMPLTYPE>, IPLHasVerticalAlignment<IMPLTYPE>, IPLInlineElement<IMPLTYPE>, IPLRenderableObject<IMPLTYPE>
All Known Implementing Classes:
AbstractBulletPointCreatorFontBased, AbstractPLBlockElement, AbstractPLBox, AbstractPLElement, AbstractPLExternalLink, AbstractPLHBox, AbstractPLImage, AbstractPLInlineBox, AbstractPLInlineElement, AbstractPLRenderableObject, AbstractPLText, AbstractPLVBox, BulletPointCreatorConstant, BulletPointCreatorNumeric, BulletPointCreatorSymbol, PLBox, PLBulletPointList, PLExternalLink, PLHBox, PLImage, PLMarginBorderPadding, PLPageBreak, PLPageSet, PLSpacerX, PLSpacerY, PLStreamImage, PLTable, PLTableCell, PLTableRow, PLText, PLVBox

public interface IPLHasOutline
Base interface for objects having an outline. If an outline is present, it is the combination or margin, border and padding.
Author:
Philip Helger
  • Method Details

    • getOutlineTop

      default float getOutlineTop()
      Returns:
      margin top + border top + padding top.
    • getOutlineRight

      default float getOutlineRight()
      Returns:
      margin right + border right + padding right.
    • getOutlineBottom

      default float getOutlineBottom()
      Returns:
      margin bottom + border bottom + padding bottom.
    • getOutlineLeft

      default float getOutlineLeft()
      Returns:
      margin left + border left + padding left.
    • getOutlineXSum

      default float getOutlineXSum()
      Sum of left and right outline
      Returns:
      getOutlineLeft() + getOutlineRight()
    • getOutlineYSum

      default float getOutlineYSum()
      Sum of top and bottom outline
      Returns:
      getOutlineTop() + getOutlineBottom()