|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.pptx.effects.ImageTransformOperationEx
com.aspose.slides.pptx.effects.Luminance
public class Luminance
Luminance effect.
Brightness linearly shifts all colors closer to white or black. Contrast scales all colors to be either closer or further apart.
Constructor Summary | |
---|---|
Luminance(float brightness,
float contrast)
Luminance effect constructor. |
Method Summary | |
---|---|
float |
getBrightness()
Returns the percent to change the brightness. |
float |
getContrast()
Returns the percent to change the contrast. |
void |
setBrightness(float brightness)
Sets the percent to change the brightness. |
void |
setContrast(float contrast)
Sets the percent to change the contrast. |
Methods inherited from class com.aspose.slides.pptx.effects.ImageTransformOperationEx |
---|
getPresentation, getSlide |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Luminance(float brightness, float contrast)
brightness
- The percent to change the brightness.contrast
- The percent to change the contrast.Method Detail |
---|
public float getBrightness()
public void setBrightness(float brightness)
public float getContrast()
public void setContrast(float contrast)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |