Class PAreaSizeFType.Builder<S>

java.lang.Object
com.io7m.jregions.core.parameterized.sizes.PAreaSizeFType.Builder<S>
Type Parameters:
S - A phantom type parameter indicating the coordinate space of the area
Direct Known Subclasses:
PAreaSizeF.Builder
Enclosing interface:
PAreaSizeFType<S>

public abstract static class PAreaSizeFType.Builder<S>
extends java.lang.Object
A builder for size values.
  • Constructor Summary

    Constructors 
    Constructor Description
    Builder()  
  • Method Summary

    Modifier and Type Method Description
    PAreaSizeF.Builder<S> setHeight​(float height)
    Deprecated.
    Use setSizeY(float)
    PAreaSizeF.Builder<S> setWidth​(float width)
    Deprecated.
    Use setSizeX(float)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • setWidth

      @Deprecated public final PAreaSizeF.Builder<S> setWidth​(float width)
      Deprecated.
      Use setSizeX(float)
      Set the width.
      Parameters:
      width - The width
      Returns:
      The builder
    • setHeight

      @Deprecated public final PAreaSizeF.Builder<S> setHeight​(float height)
      Deprecated.
      Use setSizeY(float)
      Set the height.
      Parameters:
      height - The height
      Returns:
      The builder