Class LengthPoint.LengthPointFactory<L extends Length>

  • Type Parameters:
    L - Type of the length values in this list.
    Enclosing class:
    LengthPoint<L extends Length>

    public static final class LengthPoint.LengthPointFactory<L extends Length>
    extends Object
    A factory for creating LengthPoint from values in a given unit.
    Since:
    8.2.0
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • fixedFromCentimeters

        public LengthPoint<L> fixedFromCentimeters​(double x,
                                                   double y)
        Creates a length list from a centimeter value.
        Parameters:
        x - The X position of the point.
        y - The Y position of the point.
        Returns:
        A new fixed length point with the given value.
      • fixedFromCentimeters

        public LengthPoint<L> fixedFromCentimeters​(double x,
                                                   double y,
                                                   double z)
        Creates a length list from a centimeter value.
        Parameters:
        x - The X position of the point.
        y - The Y position of the point.
        z - The Z position of the point.
        Returns:
        A new fixed length point with the given value.
      • fixedFromDecimeters

        public LengthPoint<L> fixedFromDecimeters​(double x,
                                                  double y)
        Creates a length list from a decimeter value.
        Parameters:
        x - The X position of the point.
        y - The Y position of the point.
        Returns:
        A new fixed length point with the given value.
      • fixedFromDecimeters

        public LengthPoint<L> fixedFromDecimeters​(double x,
                                                  double y,
                                                  double z)
        Creates a length list from a decimeter value.
        Parameters:
        x - The X position of the point.
        y - The Y position of the point.
        z - The Z position of the point.
        Returns:
        A new fixed length point with the given value.
      • fixedFromInches

        public LengthPoint<L> fixedFromInches​(double x,
                                              double y)
        Creates a length list from an inches value.
        Parameters:
        x - The X position of the point.
        y - The Y position of the point.
        Returns:
        A new fixed length point with the given value.
      • fixedFromInches

        public LengthPoint<L> fixedFromInches​(double x,
                                              double y,
                                              double z)
        Creates a length list from an inches value.
        Parameters:
        x - The X position of the point.
        y - The Y position of the point.
        z - The Z position of the point.
        Returns:
        A new fixed length point with the given value.
      • fixedFromMillimeters

        public LengthPoint<L> fixedFromMillimeters​(double x,
                                                   double y)
        Creates a length list from a millimeter value.
        Parameters:
        x - The X position of the point.
        y - The Y position of the point.
        Returns:
        A new fixed length point with the given value.
      • fixedFromMillimeters

        public LengthPoint<L> fixedFromMillimeters​(double x,
                                                   double y,
                                                   double z)
        Creates a length list from a millimeter value.
        Parameters:
        x - The X position of the point.
        y - The Y position of the point.
        z - The Z position of the point.
        Returns:
        A new fixed length point with the given value.
      • fixedFromPoints

        public LengthPoint<L> fixedFromPoints​(double x,
                                              double y)
        Creates a length list from a points value.
        Parameters:
        x - The X position of the point.
        y - The Y position of the point.
        Returns:
        A new fixed length point with the given value.
      • fixedFromPoints

        public LengthPoint<L> fixedFromPoints​(double x,
                                              double y,
                                              double z)
        Creates a length list from a points value.
        Parameters:
        x - The X position of the point.
        y - The Y position of the point.
        z - The Z position of the point.
        Returns:
        A new fixed length point with the given value.
      • fromCentimeters

        public LengthPoint<L> fromCentimeters​(double x,
                                              double y)
        Creates a length list from a centimeter value.
        Parameters:
        x - The X position of the point.
        y - The Y position of the point.
        Returns:
        A new loose length point with the given value.
      • fromCentimeters

        public LengthPoint<L> fromCentimeters​(double x,
                                              double y,
                                              double z)
        Creates a length list from a centimeter value.
        Parameters:
        x - The X position of the point.
        y - The Y position of the point.
        z - The Z position of the point.
        Returns:
        A new loose length point with the given value.
      • fromDecimeters

        public LengthPoint<L> fromDecimeters​(double x,
                                             double y)
        Creates a length list from a decimeter value.
        Parameters:
        x - The X position of the point.
        y - The Y position of the point.
        Returns:
        A new loose length point with the given value.
      • fromDecimeters

        public LengthPoint<L> fromDecimeters​(double x,
                                             double y,
                                             double z)
        Creates a length list from a decimeter value.
        Parameters:
        x - The X position of the point.
        y - The Y position of the point.
        z - The Z position of the point.
        Returns:
        A new loose length point with the given value.
      • fromInches

        public LengthPoint<L> fromInches​(double x,
                                         double y)
        Creates a length list from an inches value.
        Parameters:
        x - The X position of the point.
        y - The Y position of the point.
        Returns:
        A new loose length point with the given value.
      • fromInches

        public LengthPoint<L> fromInches​(double x,
                                         double y,
                                         double z)
        Creates a length list from an inches value.
        Parameters:
        x - The X position of the point.
        y - The Y position of the point.
        z - The Z position of the point.
        Returns:
        A new loose length point with the given value.
      • fromMillimeters

        public LengthPoint<L> fromMillimeters​(double x,
                                              double y)
        Creates a length list from a millimeter value.
        Parameters:
        x - The X position of the point.
        y - The Y position of the point.
        Returns:
        A new loose length point with the given value.
      • fromMillimeters

        public LengthPoint<L> fromMillimeters​(double x,
                                              double y,
                                              double z)
        Creates a length list from a millimeter value.
        Parameters:
        x - The X position of the point.
        y - The Y position of the point.
        z - The Z position of the point.
        Returns:
        A new loose length point with the given value.
      • fromPoints

        public LengthPoint<L> fromPoints​(double x,
                                         double y)
        Creates a length list from a points value.
        Parameters:
        x - The X position of the point.
        y - The Y position of the point.
        Returns:
        A new loose length point with the given value.
      • fromPoints

        public LengthPoint<L> fromPoints​(double x,
                                         double y,
                                         double z)
        Creates a length list from a points value.
        Parameters:
        x - The X position of the point.
        y - The Y position of the point.
        z - The Z position of the point.
        Returns:
        A new loose length point with the given value.