Package de.cerus.packetmaps.v1_16_3
Class DrawAdapterImpl
- java.lang.Object
-
- de.cerus.packetmaps.v1_16_3.DrawAdapterImpl
-
- All Implemented Interfaces:
DrawAdapter
public class DrawAdapterImpl extends java.lang.Object implements DrawAdapter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.cerus.packetmaps.nmsbase.DrawAdapter
DrawAdapter.DiffResult
-
-
Constructor Summary
Constructors Constructor Description DrawAdapterImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DrawAdapter.DiffResultdiff(DrawAdapter drawAdapter)voiddrawImage(java.awt.image.BufferedImage image, int x, int z, int width, int height)voidfillRect(int x1, int z1, int x2, int z2, byte color)voidfillSphere(int originX, int originZ, int radius, byte color)voidline(int x1, int z1, int x2, int z2, byte color)voidsetPixel(int x, int z, byte color)byte[][]toArray()byte[]toOneDimArray()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.cerus.packetmaps.nmsbase.DrawAdapter
drawImage, fill, rect, setPixels
-
-
-
-
Method Detail
-
fillRect
public void fillRect(int x1, int z1, int x2, int z2, byte color)- Specified by:
fillRectin interfaceDrawAdapter
-
line
public void line(int x1, int z1, int x2, int z2, byte color)- Specified by:
linein interfaceDrawAdapter
-
setPixel
public void setPixel(int x, int z, byte color)- Specified by:
setPixelin interfaceDrawAdapter
-
drawImage
public void drawImage(java.awt.image.BufferedImage image, int x, int z, int width, int height)- Specified by:
drawImagein interfaceDrawAdapter
-
fillSphere
public void fillSphere(int originX, int originZ, int radius, byte color)- Specified by:
fillSpherein interfaceDrawAdapter
-
diff
public DrawAdapter.DiffResult diff(DrawAdapter drawAdapter)
- Specified by:
diffin interfaceDrawAdapter
-
toArray
public byte[][] toArray()
- Specified by:
toArrayin interfaceDrawAdapter
-
toOneDimArray
public byte[] toOneDimArray()
- Specified by:
toOneDimArrayin interfaceDrawAdapter
-
-