Class Rectangle
- java.lang.Object
-
- com.shinyhut.vernacular.protocol.messages.Rectangle
-
public class Rectangle extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Rectangledecode(InputStream in)EncodinggetEncoding()intgetHeight()intgetWidth()intgetX()intgetY()
-
-
-
Constructor Detail
-
Rectangle
public Rectangle(int x, int y, int width, int height, Encoding encoding)
-
-
Method Detail
-
getX
public int getX()
-
getY
public int getY()
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
getEncoding
public Encoding getEncoding()
-
decode
public static Rectangle decode(InputStream in) throws UnsupportedEncodingException, IOException
-
-