mirror of
https://github.com/processing/processing4.git
synced 2026-02-11 09:39:19 +01:00
significant api cleaning and sorting things out for graphics
This commit is contained in:
@@ -295,6 +295,14 @@ public class PImage implements PConstants, Cloneable {
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* For subclasses where the pixels[] buffer isn't set by default,
|
||||
* this should copy all data into the pixels[] array
|
||||
*/
|
||||
public void loadPixels() {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Mark all pixels as needing update.
|
||||
*/
|
||||
@@ -405,6 +413,7 @@ public class PImage implements PConstants, Cloneable {
|
||||
* Convenience method to avoid an extra cast,
|
||||
* and the exception handling.
|
||||
*/
|
||||
/*
|
||||
public PImage get() {
|
||||
try {
|
||||
return (PImage) clone();
|
||||
@@ -412,6 +421,7 @@ public class PImage implements PConstants, Cloneable {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
public void set(int x, int y, int c) {
|
||||
|
||||
Reference in New Issue
Block a user