Class Layer
java.lang.Object
net.mcreator.ui.views.editor.image.layer.Layer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
copy()
void
void
boolean
int
getName()
double
boolean
int
getRGB
(int x, int y) int
getType()
int
getWidth()
int
getX()
int
getY()
int
hashCode()
boolean
in
(int x, int y) boolean
isPasted()
boolean
void
mergeOnTop
(Layer topLayer) void
mergeOverlay
(boolean apply) void
replaceImage
(BufferedImage image) void
void
resize
(int width, int height, boolean antialiasing) void
void
void
setOverlayOpacity
(double overlayOpacity) void
setPasted
(boolean isPasted) void
setRaster
(BufferedImage raster) void
setRenderingMode
(boolean eraser) void
setVisible
(boolean visible) void
setX
(int x) void
setY
(int y) int
sizeOf()
static Layer
toString()
-
Constructor Details
-
Layer
-
Layer
-
Layer
-
Layer
-
Layer
-
-
Method Details
-
getX
public int getX() -
setX
public void setX(int x) -
getY
public int getY() -
setY
public void setY(int y) -
getName
-
setName
-
getCanvas
-
setCanvas
-
toLayer
-
toString
-
hashCode
public int hashCode() -
equals
-
isVisible
public boolean isVisible() -
setVisible
public void setVisible(boolean visible) -
isPasted
public boolean isPasted() -
setPasted
public void setPasted(boolean isPasted) -
in
public boolean in(int x, int y) -
createOverlay
public void createOverlay() -
resetOverlay
public void resetOverlay() -
mergeOnTop
-
clear
public void clear() -
clearSelection
public void clearSelection() -
getRaster
-
setRaster
-
getType
public int getType() -
getWidth
public int getWidth() -
getHeight
public int getHeight() -
createGraphics
-
mergeOverlay
-
mergeOverlay
public void mergeOverlay() -
getRenderingMode
public boolean getRenderingMode() -
setRenderingMode
public void setRenderingMode(boolean eraser) -
getOverlay
-
getOverlayOpacity
public double getOverlayOpacity() -
setOverlayOpacity
public void setOverlayOpacity(double overlayOpacity) -
getRGB
public int getRGB(int x, int y) -
copy
-
sizeOf
public int sizeOf() -
copyImage
-
replaceImage
-
resize
public void resize(int width, int height, boolean antialiasing) -
deleteSelection
public void deleteSelection()
-