public static class Fragment.Image.View extends Object
| Constructor and Description |
|---|
View(String url,
int width,
int height,
String alt,
String copyright,
Fragment.Link linkTo) |
| Modifier and Type | Method and Description |
|---|---|
String |
asHtml(LinkResolver linkResolver) |
String |
getAlt() |
String |
getCopyright() |
int |
getHeight() |
String |
getUrl() |
int |
getWidth() |
static Fragment.Image.View |
parse(com.fasterxml.jackson.databind.JsonNode json) |
double |
ratio() |
public View(String url, int width, int height, String alt, String copyright, Fragment.Link linkTo)
public String getUrl()
public int getWidth()
public int getHeight()
public String getAlt()
public String getCopyright()
public double ratio()
public String asHtml(LinkResolver linkResolver)
public static Fragment.Image.View parse(com.fasterxml.jackson.databind.JsonNode json)
Copyright © 2018. All rights reserved.