Package de.xima.fc.common.graphdot
Class LengthPoint.LengthPointFactory<L extends Length>
- java.lang.Object
-
- de.xima.fc.common.graphdot.LengthPoint.LengthPointFactory<L>
-
- 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 creatingLengthPoint
from values in a given unit.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LengthPoint<L>
fixedFromCentimeters(double x, double y)
Creates a length list from a centimeter value.LengthPoint<L>
fixedFromCentimeters(double x, double y, double z)
Creates a length list from a centimeter value.LengthPoint<L>
fixedFromDecimeters(double x, double y)
Creates a length list from a decimeter value.LengthPoint<L>
fixedFromDecimeters(double x, double y, double z)
Creates a length list from a decimeter value.LengthPoint<L>
fixedFromInches(double x, double y)
Creates a length list from an inches value.LengthPoint<L>
fixedFromInches(double x, double y, double z)
Creates a length list from an inches value.LengthPoint<L>
fixedFromMillimeters(double x, double y)
Creates a length list from a millimeter value.LengthPoint<L>
fixedFromMillimeters(double x, double y, double z)
Creates a length list from a millimeter value.LengthPoint<L>
fixedFromPoints(double x, double y)
Creates a length list from a points value.LengthPoint<L>
fixedFromPoints(double x, double y, double z)
Creates a length list from a points value.LengthPoint<L>
fromCentimeters(double x, double y)
Creates a length list from a centimeter value.LengthPoint<L>
fromCentimeters(double x, double y, double z)
Creates a length list from a centimeter value.LengthPoint<L>
fromDecimeters(double x, double y)
Creates a length list from a decimeter value.LengthPoint<L>
fromDecimeters(double x, double y, double z)
Creates a length list from a decimeter value.LengthPoint<L>
fromInches(double x, double y)
Creates a length list from an inches value.LengthPoint<L>
fromInches(double x, double y, double z)
Creates a length list from an inches value.LengthPoint<L>
fromMillimeters(double x, double y)
Creates a length list from a millimeter value.LengthPoint<L>
fromMillimeters(double x, double y, double z)
Creates a length list from a millimeter value.LengthPoint<L>
fromPoints(double x, double y)
Creates a length list from a points value.LengthPoint<L>
fromPoints(double x, double y, double z)
Creates a length list from a points value.
-
-
-
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.
-
-