Class Leader

All Implemented Interfaces:
Serializable, Cloneable

public class Leader extends InlineArea
This is a leader inline area. This class is only used for leader with leader-pattern of rule.
See Also:
  • Constructor Details

    • Leader

      public Leader()
      Create a new leader area.
  • Method Details

    • setRuleStyle

      public void setRuleStyle(int style)
      Set the rule style of this leader area.
      Parameters:
      style - the rule style for the leader line
    • setRuleStyle

      public void setRuleStyle(String style)
      Set the rule style of this leader area.
      Parameters:
      style - the rule style for the leader area (XSL enum values)
    • setRuleThickness

      public void setRuleThickness(int rt)
      Set the rule thickness of the rule in miilipoints.
      Parameters:
      rt - the rule thickness in millipoints
    • getRuleStyle

      public int getRuleStyle()
      Get the rule style of this leader.
      Returns:
      the rule style
    • getRuleStyleAsString

      public String getRuleStyleAsString()
      Returns:
      the rule style as string
    • getRuleThickness

      public int getRuleThickness()
      Get the rule thickness of the rule in miilipoints.
      Returns:
      the rule thickness in millipoints