Class Align

java.lang.Object
org.jfree.chart.ui.Align

public final class Align extends Object
A utility class for aligning rectangles.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Bottom alignment.
    static final int
    Bottom/Left alignment.
    static final int
    Bottom/Right alignment.
    static final int
    Center alignment.
    static final int
    East alignment (same as RIGHT).
    static final int
    Complete fit.
    static final int
    Horizontal fit.
    static final int
    Vertical fit.
    static final int
    Left alignment.
    static final int
    North alignment (same as TOP).
    static final int
    North/East alignment (same as TOP_RIGHT).
    static final int
    North/West alignment (same as TOP_LEFT).
    static final int
    Right alignment.
    static final int
    South alignment (same as BOTTOM).
    static final int
    South/East alignment (same as BOTTOM_RIGHT).
    static final int
    South/West alignment (same as BOTTOM_LEFT).
    static final int
    Top alignment.
    static final int
    Top/Left alignment.
    static final int
    Top/Right alignment.
    static final int
    West alignment (same as LEFT).
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    align(Rectangle2D rect, Rectangle2D frame, int align)
    Aligns one rectangle (rect) relative to another rectangle (frame).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait