org.openmali.types.twodee
Interface Sized2i

All Superinterfaces:
Sized2iRO
All Known Subinterfaces:
ExtSized2i
All Known Implementing Classes:
Dim2i, ExtDim2i, ExtRect2i, Rect2i

public interface Sized2i
extends Sized2iRO

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


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.
 Sized2i setSize(Tuple2i 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.

setSize

Sized2i setSize(Tuple2i 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 -