Interface Margin

All Known Implementing Classes:
BottomMarginRecord, LeftMarginRecord, RightMarginRecord, TopMarginRecord

public interface Margin
The margin interface is a parent used to define left, right, top and bottom margins. This allows much of the code to be generic when it comes to handling margins.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Get the margin field for the Margin.
    void
    setMargin(double field_1_margin)
    Set the margin field for the Margin.
  • Method Details

    • getMargin

      double getMargin()
      Get the margin field for the Margin.
      Returns:
      the margin
    • setMargin

      void setMargin(double field_1_margin)
      Set the margin field for the Margin.
      Parameters:
      field_1_margin - the margin