Package dev.webfx.kit.launcher.spi
Interface FastPixelReaderWriter
- All Superinterfaces:
FastPixelReader
- All Known Implementing Classes:
GwtJ2clFastPixelReaderWriter
,OpenJFXFastPixelReaderWriter
- Author:
- Bruno Salmon
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
int
getBlue()
int
getGreen()
getImage()
int
int
getRed()
void
goToPixel
(int x, int y) boolean
default void
setArgb
(int opacity, int red, int green, int blue) void
setBlue
(int blue) void
setGreen
(int green) void
setOpacity
(int opacity) void
setRed
(int red) default void
setRgb
(int red, int green, int blue) default void
-
Method Details
-
getImage
Image getImage()- Specified by:
getImage
in interfaceFastPixelReader
-
goToPixel
void goToPixel(int x, int y) - Specified by:
goToPixel
in interfaceFastPixelReader
-
gotToNextPixel
boolean gotToNextPixel()- Specified by:
gotToNextPixel
in interfaceFastPixelReader
-
getRed
int getRed()- Specified by:
getRed
in interfaceFastPixelReader
-
getGreen
int getGreen()- Specified by:
getGreen
in interfaceFastPixelReader
-
getBlue
int getBlue()- Specified by:
getBlue
in interfaceFastPixelReader
-
getOpacity
int getOpacity()- Specified by:
getOpacity
in interfaceFastPixelReader
-
setRed
void setRed(int red) -
setGreen
void setGreen(int green) -
setBlue
void setBlue(int blue) -
setOpacity
void setOpacity(int opacity) -
setArgb
default void setArgb(int opacity, int red, int green, int blue) -
setRgb
default void setRgb(int red, int green, int blue) -
createCache
default boolean createCache() -
writeCache
default void writeCache()
-