|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.Redimencionar
public class Redimencionar
Classe que trata o redimensinamento das imagens .
| Constructor Summary | |
|---|---|
Redimencionar()
|
|
| Method Summary | |
|---|---|
static java.awt.image.BufferedImage |
Redimension(java.awt.image.BufferedImage original,
int w,
int h)
Redimenciona uma imagem do tipo Buffered Image |
static java.awt.image.BufferedImage |
Redimension(java.lang.String caminho,
int w,
int h)
Metodo que redimenciona a imagem passado um caminho como string. |
static java.awt.geom.Dimension2D |
tamanhoProporcional(double x,
double y,
double maxX,
double maxY)
Este metodo redimenciona a imagem proporcinalemnte para caber na tela. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Redimencionar()
| Method Detail |
|---|
public static java.awt.image.BufferedImage Redimension(java.lang.String caminho,
int w,
int h)
throws java.io.IOException
Metodo que redimenciona a imagem passado um caminho como string.
caminho - String do Filew - h -
java.io.IOException
public static java.awt.image.BufferedImage Redimension(java.awt.image.BufferedImage original,
int w,
int h)
throws java.io.IOException
Redimenciona uma imagem do tipo Buffered Image
original - w - h -
java.io.IOException
public static java.awt.geom.Dimension2D tamanhoProporcional(double x,
double y,
double maxX,
double maxY)
Este metodo redimenciona a imagem proporcinalemnte para caber na tela.
x - y - maxX - maxY -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||