|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectscenic.SceneNode
scenic.SceneLeaf
scenic.Brush
scenic.Pattern
public class Pattern
This brush paints a repeating pattern. The pattern is created by repeating the given scene.
| Constructor Summary | |
|---|---|
Pattern(double width,
double height)
Creates a pattern with the given width and height. |
|
| Method Summary | |
|---|---|
void |
childChanged(java.awt.Rectangle area)
|
double |
getHeight()
Gets the height of the pattern. |
SceneNode |
getPattern()
Gets the scene that defines the pattern. |
double |
getWidth()
Gets the width of the pattern. |
void |
setHeight(double height)
Sets the height of the pattern. |
void |
setPattern(SceneNode pattern)
Sets the scene that defines the pattern. |
void |
setWidth(double width)
Sets the width of the pattern. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pattern(double width,
double height)
width - the width of the pattern.height - the height of the pattern.| Method Detail |
|---|
public double getWidth()
public void setWidth(double width)
public double getHeight()
public void setHeight(double height)
public SceneNode getPattern()
public void setPattern(SceneNode pattern)
public void childChanged(java.awt.Rectangle area)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||