ewe.fx
Class Brush

java.lang.Object
  extended byewe.fx.Brush

public class Brush
extends Object

A Brush is used with certain draw operations in ewe.fx.Graphics. See the Graphics.setBrush(Brush b) method.


Field Summary
 Color color
          The color for the Brush.
static int SOLID
          A Brush style.
 int style
          The style for the Brush.
 
Constructor Summary
Brush(Color color, int style)
          Create a new Brush Object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, toString
 

Field Detail

color

public Color color
The color for the Brush.


style

public int style
The style for the Brush.


SOLID

public static final int SOLID
A Brush style.

See Also:
Constant Field Values
Constructor Detail

Brush

public Brush(Color color,
             int style)
Create a new Brush Object.

Parameters:
color - The color for the Brush.
style - The style for the Brush. Currently only SOLID is supported.