net.ctdp.rfdynhud.render
Class BackgroundColorBorderRenderer

java.lang.Object
  extended by net.ctdp.rfdynhud.render.BackgroundColorBorderRenderer
All Implemented Interfaces:
BorderRenderer

public class BackgroundColorBorderRenderer
extends java.lang.Object
implements BorderRenderer

Author:
Marvin Froehlich (CTDP)

Constructor Summary
BackgroundColorBorderRenderer()
           
 
Method Summary
 void drawBorder(java.awt.Color backgroundColor, BorderMeasures measures, TextureImage2D texture, int offsetX, int offsetY, int width, int height)
           
 TextureImage2D getImage(java.awt.Color backgroundColor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackgroundColorBorderRenderer

public BackgroundColorBorderRenderer()
Method Detail

getImage

public TextureImage2D getImage(java.awt.Color backgroundColor)
Parameters:
backgroundColor -
Returns:

drawBorder

public void drawBorder(java.awt.Color backgroundColor,
                       BorderMeasures measures,
                       TextureImage2D texture,
                       int offsetX,
                       int offsetY,
                       int width,
                       int height)
Specified by:
drawBorder in interface BorderRenderer