java.io.Serializable
public final class ImageData
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
static ImageData |
from(SC2APIProtocol.Common.ImageData sc2ApiImageData) |
|
int |
getBitsPerPixel() |
|
byte[] |
getData() |
|
java.awt.image.BufferedImage |
getImage() |
|
Size2dI |
getSize() |
|
int |
hashCode() |
|
int |
sample(Point2d point) |
|
java.lang.String |
toString() |
public static ImageData from(SC2APIProtocol.Common.ImageData sc2ApiImageData)
public int getBitsPerPixel()
public Size2dI getSize()
public byte[] getData()
public java.awt.image.BufferedImage getImage()
public int sample(Point2d point)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2017–2018 Ocraft Project. All rights reserved.