Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

- Added getter methods to many filters to get their intensity values. #504

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,8 @@ public void setBrightness(final float brightness) {
this.brightness = brightness;
setFloat(brightnessLocation, this.brightness);
}

public float getBrightness() {
return brightness;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,8 @@ public void setColorMatrix(final float[] colorMatrix) {
this.colorMatrix = colorMatrix;
setUniformMatrix4f(colorMatrixLocation, colorMatrix);
}

public float getIntensity() {
return intensity;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,8 @@ public void setContrast(final float contrast) {
this.contrast = contrast;
setFloat(contrastLocation, this.contrast);
}

public float getContrast() {
return contrast;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,8 @@ public void setRadius(final int radius) {
this.radius = radius;
setInteger(radiusLocation, radius);
}

public int getRadius() {
return radius;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,8 @@ public void setIntensity(final float intensity) {
this.intensity = intensity;
setFloat(intensityLocation, this.intensity);
}

public float getIntensity() {
return intensity;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,8 @@ public void setPixel(final float pixel) {
this.pixel = pixel;
setFloat(pixelLocation, this.pixel);
}

public float getPixel() {
return pixel;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,8 @@ public void setSaturation(final float saturation) {
this.saturation = saturation;
setFloat(saturationLocation, this.saturation);
}

public float getSaturation() {
return saturation;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,8 @@ public void setSharpness(final float sharpness) {
this.sharpness = sharpness;
setFloat(sharpnessLocation, this.sharpness);
}

public float getSharpness() {
return sharpness;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,9 @@ public void setVibrance(final float vibrance) {
setFloat(vibranceLocation, vibrance);
}
}

public float getVibrance() {
return vibrance;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,20 @@ public void setVignetteEnd(final float vignetteEnd) {
this.vignetteEnd = vignetteEnd;
setFloat(vignetteEndLocation, this.vignetteEnd);
}

public PointF getVignetteCenter() {
return vignetteCenter;
}

public float[] getVignetteColor() {
return vignetteColor;
}

public float getVignetteStart() {
return vignetteStart;
}

public float getVignetteEnd() {
return vignetteEnd;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,8 @@ public void setBlurSize(final float blurSize) {
this.blurSize = blurSize;
setFloat(blurSizeLocation, blurSize);
}

public float getBlurSize() {
return blurSize;
}
}