public class

Background

extends Object
java.lang.Object
   ↳ casmi.graphics.object.Background

Class Overview

Material class. Wrapper of JOGL for managing background

Summary

Public Constructors
Background(double gray)
Creates BackGround object using gray scale.
Background(double red, double green, double blue)
Creates BackGround object using red, green, blue color values.
Background(Color color)
Creates BackGround object using color
Background(ColorSet colorSet)
Creates BackGround object using color
Public Methods
void render(Graphics g)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Background (double gray)

Creates BackGround object using gray scale.

Parameters
gray The gray-scale value of the BackGround.

public Background (double red, double green, double blue)

Creates BackGround object using red, green, blue color values.

Parameters
red The red color value of the BackGround.
green The green color value of the BackGround.
blue The blue color value of the BackGround.

public Background (Color color)

Creates BackGround object using color

Parameters
color The Color of the BackGround.
See Also

public Background (ColorSet colorSet)

Creates BackGround object using color

Parameters
colorSet The ColorSet of the BackGround.
See Also

Public Methods

public void render (Graphics g)