com.aspose.slides.pptx.effects
Class Luminance

java.lang.Object
  extended by com.aspose.slides.pptx.effects.ImageTransformOperationEx
      extended by com.aspose.slides.pptx.effects.Luminance
All Implemented Interfaces:
IPresentationComponent, ISlideComponent

public class Luminance
extends ImageTransformOperationEx

Luminance effect.

Brightness linearly shifts all colors closer to white or black. Contrast scales all colors to be either closer or further apart.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.aspose.slides.pptx.effects.ImageTransformOperationEx
ImageTransformOperationEx.PixelEffectDelegate, ImageTransformOperationEx.PixelEffectDelegate1
 
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

Luminance

public Luminance(float brightness,
                 float contrast)
Luminance effect constructor.

Parameters:
brightness - The percent to change the brightness.
contrast - The percent to change the contrast.
Method Detail

getBrightness

public float getBrightness()
Returns the percent to change the brightness.


setBrightness

public void setBrightness(float brightness)
Sets the percent to change the brightness.


getContrast

public float getContrast()
Returns the percent to change the contrast.


setContrast

public void setContrast(float contrast)
Sets the percent to change the contrast.