public class SFImage extends X3DField
| Constructor and Description |
|---|
SFImage() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPixel(Integer pixel) |
void |
clearPixels() |
Integer |
getComponents() |
Integer |
getHeight() |
ArrayList<Integer> |
getPixels() |
String |
getStringValue() |
Integer |
getWidth() |
void |
setComponents(Integer components) |
void |
setHeight(Integer height) |
void |
setPixels(ArrayList<Integer> pixels) |
void |
setStringValue(String value) |
void |
setWidth(Integer width) |
String |
toString() |
public Integer getComponents()
public void setComponents(Integer components) throws IllegalArgumentException
IllegalArgumentExceptionpublic Integer getHeight()
public void setHeight(Integer height) throws IllegalArgumentException
IllegalArgumentExceptionpublic void setPixels(ArrayList<Integer> pixels) throws IllegalArgumentException
IllegalArgumentExceptionpublic void addPixel(Integer pixel) throws IllegalArgumentException
IllegalArgumentExceptionpublic void clearPixels()
public Integer getWidth()
public void setWidth(Integer width) throws IllegalArgumentException
IllegalArgumentExceptionpublic String getStringValue()
public void setStringValue(String value) throws IllegalArgumentException
IllegalArgumentException