BorderCache

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.render
Class BorderCache

    java.lang.Object
      net.ctdp.rfdynhud.render.BorderCache

    public class BorderCache

extends java.lang.Object

The `BorderCache` is used to load borders only once.

Author:
  Marvin Froehlich (CTDP)

Constructor Summary
`BorderCache()`

Method Summary
`static BorderWrapper` | `getBorder(java.lang.String iniFilename, IntProperty paddingTop, IntProperty paddingLeft, IntProperty paddingRight, IntProperty paddingBottom)` Gets or creates a TexturedBorder with the given side widths.

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

Constructor Detail

### BorderCache

    public BorderCache()

Method Detail

### getBorder

    public static BorderWrapper getBorder(java.lang.String iniFilename,
                                          IntProperty paddingTop,
                                          IntProperty paddingLeft,
                                          IntProperty paddingRight,
                                          IntProperty paddingBottom)

  Gets or creates a TexturedBorder with the given side widths.

  Parameters:
    `iniFilename` - the ini filename
    `paddingTop` - top padding property
    `paddingLeft` - left padding property
    `paddingRight` - right padding property
    `paddingBottom` - bottom padding property
  Returns:
    the border

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

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