mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
cleaning up coloring api
This commit is contained in:
@@ -925,19 +925,19 @@ public class PGraphics2 extends PGraphics {
|
||||
//////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
protected void calc_tint() {
|
||||
super.calc_tint();
|
||||
protected void colorTint() {
|
||||
super.colorTint();
|
||||
// TODO actually implement tinted images
|
||||
tintColorObject = new Color(tintColor, true);
|
||||
}
|
||||
|
||||
protected void calc_fill() {
|
||||
super.calc_fill();
|
||||
protected void colorFill() {
|
||||
super.colorFill();
|
||||
fillColorObject = new Color(fillColor, true);
|
||||
}
|
||||
|
||||
protected void calc_stroke() {
|
||||
super.calc_stroke();
|
||||
protected void colorStroke() {
|
||||
super.colorStroke();
|
||||
strokeColorObject = new Color(strokeColor, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user