AbstractSize

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

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

## net.ctdp.rfdynhud.values
Class AbstractSize

    java.lang.Object
      net.ctdp.rfdynhud.values.AbstractSize

Direct Known Subclasses:
  InnerSize, Size

    public abstract class AbstractSize

extends java.lang.Object

Author:
  Marvin Froehlich (CTDP)

Constructor Summary
`AbstractSize()`

Method Summary
`float` | `getAspect()` Gets the aspect ratio (`getEffectiveWidth()` / `getEffectiveHeight()`).
`abstract int` | `getEffectiveHeight()` Gets the effective height in pixels.
`abstract int` | `getEffectiveWidth()` Gets the effective width in pixels.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AbstractSize

    public AbstractSize()

Method Detail

### getEffectiveWidth

    public abstract int getEffectiveWidth()

  Gets the effective width in pixels.

  Returns:
    the effective width in pixels.

### getEffectiveHeight

    public abstract int getEffectiveHeight()

  Gets the effective height in pixels.

  Returns:
    the effective height in pixels.

### getAspect

    public final float getAspect()

  Gets the aspect ratio (`getEffectiveWidth()` / `getEffectiveHeight()`).

  Returns:
    the aspect ratio.

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

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