- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 32 of file SocialImage.java.
◆ SocialImage()
org.turro.elephant.web.SocialImage.SocialImage |
( |
String |
url, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
◆ getFromFiles()
Definition at line 55 of file SocialImage.java.
56 for(RepositoryFile rf : files) {
58 Dimension dimension = ImageUtil.dimension(rf.getFile());
59 if(dimension.getWidth() >= 200 || dimension.getHeight() >= 200) {
60 return new SocialImage(rf.getWebPath(), (
int) dimension.getWidth(), (
int) dimension.getHeight());
62 }
catch (IOException ex) {}
SocialImage(String url, int x, int y)
◆ getUrl()
String org.turro.elephant.web.SocialImage.getUrl |
( |
| ) |
|
◆ isEmpty()
boolean org.turro.elephant.web.SocialImage.isEmpty |
( |
| ) |
|
◆ isLarge()
boolean org.turro.elephant.web.SocialImage.isLarge |
( |
| ) |
|
The documentation for this class was generated from the following file: