org.gwoptics
Class Logo

java.lang.Object
  extended by org.gwoptics.graphics.Renderable
      extended by org.gwoptics.Logo
All Implemented Interfaces:
IRenderable

public class Logo
extends Renderable

Renders a clickabled image of the gwOptics logo. Use this in your application if any part of the library is used to provide a link back to our website.

Since:
0.3.2
Author:
Daniel Brown 24/6/09

Field Summary
 
Fields inherited from class org.gwoptics.graphics.Renderable
position
 
Constructor Summary
Logo(processing.core.PApplet parent, float x, float y, boolean clickable)
           
Logo(processing.core.PApplet parent, float x, float y, boolean clickable, LogoSize size)
           
 
Method Summary
 void clearBackground(int borderSize, GWColour bgColor)
           
 void draw()
           
 void mouseEvent(java.awt.event.MouseEvent event)
           
 
Methods inherited from class org.gwoptics.graphics.Renderable
setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Logo

public Logo(processing.core.PApplet parent,
            float x,
            float y,
            boolean clickable)

Logo

public Logo(processing.core.PApplet parent,
            float x,
            float y,
            boolean clickable,
            LogoSize size)
Method Detail

mouseEvent

public void mouseEvent(java.awt.event.MouseEvent event)

draw

public void draw()
Specified by:
draw in interface IRenderable
Specified by:
draw in class Renderable

clearBackground

public void clearBackground(int borderSize,
                            GWColour bgColor)


processing library gwoptics by Daniel Brown and Andreas Freise. (c) 2009 onwards