Interface AttributeListBuilder.IMixinLength<L extends Length,​A extends AttributeListBuilder.ITypedAttribute<L>>

    • Method Detail

      • centimeters

        default A centimeters​(double centimeters)
        Uses the given length in centimeters
        Parameters:
        centimeters - Length in centimeters.
        Returns:
        An attribute with the length in centimeters.
      • factory

        Length.LengthFactory<L> factory()
        Returns:
        The factory for creating lengths for the unit of this length.
      • inches

        default A inches​(double inches)
        Uses the given length in inches
        Parameters:
        inches - Length in inches
        Returns:
        An attribute with the length in inches.
      • millimeters

        default A millimeters​(double millimeters)
        Uses the given length in millimeters
        Parameters:
        millimeters - Length in millimeters.
        Returns:
        An attribute with the length in millimeters.
      • points

        default A points​(double points)
        Uses the given length in points
        Parameters:
        points - Length in points.
        Returns:
        An attribute with the length in points.