|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sky.monome.frame.DefaultFrame sky.monome.frame.PictureFrame
public class PictureFrame
Frame that displays a RenderedImage
.
This frame takes dimensions of the specified image.
Field Summary |
---|
Fields inherited from class sky.monome.frame.DefaultFrame |
---|
height, matrix, width |
Constructor Summary | |
---|---|
PictureFrame(java.awt.image.RenderedImage renderedImage,
boolean negative)
Constructs a picture frame with the specified picture and the specified negative flag. |
|
PictureFrame(java.awt.image.RenderedImage renderedImage,
boolean negative,
PictureAnalyzer pictureAnalyzer)
Constructs a picture frame with the specified picture, the specified negative flag and the specified picture analyzer. |
Method Summary |
---|
Methods inherited from class sky.monome.frame.DefaultFrame |
---|
clear, clear, get, getHeight, getWidth, set |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PictureFrame(java.awt.image.RenderedImage renderedImage, boolean negative)
MidGreyAnalyzer
is used to convert the picture into a matrix of led states.
renderedImage
- Picture to display in this picture frame.negative
- Flag that indicates if this picture frame must invert all led states.public PictureFrame(java.awt.image.RenderedImage renderedImage, boolean negative, PictureAnalyzer pictureAnalyzer)
renderedImage
- Picture to display in this picture frame.negative
- Flag that indicates if this picture frame must invert all led states.pictureAnalyzer
- Picture analyzer to use to convert the picture into a matrix of led states.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |