org.openmali.types.twodee
Interface Sized2f

All Superinterfaces:
Sized2fRO
All Known Subinterfaces:
ExtSized2f
All Known Implementing Classes:
Dim2f, ExtDim2f

public interface Sized2f
extends Sized2fRO

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


Method Summary
 void setHeight(float height)
          Sets the height.
 Sized2f setSize(float width, float height)
          Sets the size.
 Sized2f setSize(Sized2fRO size)
          Sets the size.
 Sized2f setSize(Tuple2f size)
          Sets the size.
 void setWidth(float width)
          Sets the width.
 
Methods inherited from interface org.openmali.types.twodee.Sized2fRO
getAspect, getHeight, getWidth
 

Method Detail

setSize

Sized2f setSize(float width,
                float height)
Sets the size.

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

setSize

Sized2f setSize(Sized2fRO size)
Sets the size.

Parameters:
size -
Returns:
this instance back again.

setSize

Sized2f setSize(Tuple2f size)
Sets the size.

Parameters:
size -
Returns:
this instance back again.

setWidth

void setWidth(float width)
Sets the width.

Parameters:
width -

setHeight

void setHeight(float height)
Sets the height.

Parameters:
height -