InnerSize

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 InnerSize

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

    public class InnerSize

extends AbstractSize

The InnerSize value provides an `AbstractSize` implementation for the inner size of a `Widget` (excluding border and padding).

Author:
  Marvin Froehlich (CTDP)

Constructor Summary
`InnerSize(Size totalSize, BorderProperty border)`

Method Summary
`int` | `getEffectiveHeight()` Gets the effective height in pixels.
`int` | `getEffectiveWidth()` Gets the effective width in pixels.

Methods inherited from class net.ctdp.rfdynhud.values.AbstractSize
`getAspect`

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

Constructor Detail

### InnerSize

    public InnerSize(Size totalSize,
                     BorderProperty border)

Method Detail

### getEffectiveWidth

    public final int getEffectiveWidth()

  Gets the effective width in pixels.

  Specified by:
    `getEffectiveWidth` in class `AbstractSize`
  Returns:
    the effective width in pixels.

### getEffectiveHeight

    public final int getEffectiveHeight()

  Gets the effective height in pixels.

  Specified by:
    `getEffectiveHeight` in class `AbstractSize`
  Returns:
    the effective height in pixels.

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

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