Class PAreaSizeIType.Builder<S>

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

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

    Constructors 
    Constructor Description
    Builder()  
  • Method Summary

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

    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 PAreaSizeI.Builder<S> setWidth​(int width)
      Deprecated.
      Use setSizeX(int)
      Set the width.
      Parameters:
      width - The width
      Returns:
      The builder
    • setHeight

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