Sized2i

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.openmali.types.twodee
Interface Sized2i

All Superinterfaces:
  Sized2iRO

All Known Implementing Classes:
  Rect2i

    public interface Sized2i

extends Sized2iRO

A Sized2i class provides getters as well as setters for the size.

Author:
  Marvin Froehlich (aka Qudus)

Method Summary
`void` | `setHeight(int height)` Sets the height.
`Sized2i` | `setSize(int width, int height)` Sets the size.
`Sized2i` | `setSize(Sized2iRO size)` Sets the size.
`void` | `setWidth(int width)` Sets the width.

Methods inherited from interface org.openmali.types.twodee.Sized2iRO
`getAspect, getHeight, getWidth`

Method Detail

### setSize

    Sized2i setSize(int width,
                    int height)

  Sets the size.

  Parameters:
    `width` -
    `height` -
  Returns:
    this instance back again.

### setSize

    Sized2i setSize(Sized2iRO size)

  Sets the size.

  Parameters:
    `size` -
  Returns:
    this instance back again.

### setWidth

    void setWidth(int width)

  Sets the width.

  Parameters:
    `width` -

### setHeight

    void setHeight(int height)

  Sets the height.

  Parameters:
    `height` -

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD