public class BrightnessContrastLayer extends AdjustmentLayer
Brightness/contrast layer.
Layer
BLEND_SIGNATURE, LAYER_HEADER_SIZE
Modifier and Type | Method and Description |
---|---|
int |
getBrightness()
Gets the brightness.
|
int |
getContrast()
Gets the contrast.
|
void |
setBrightness(int value)
Sets the brightness.
|
void |
setContrast(int value)
Sets the contrast.
|
mergeLayerTo
addLayerMask, drawImage, equals, getBitsPerPixel, getBlendingOptions, getBlendModeKey, getBlendModeSignature, getBottom, getChannelInformation, getChannelsCount, getClipping, getDisplayName, getExtraLength, getFiller, getFillOpacity, getFlags, getHeight, getLayerBlendingRangesData, getLayerBounds, getLayerCreationDateTime, getLayerLock, getLayerMaskData, getLayerOptions, getLeft, getLength, getName, getOpacity, getResources, getRight, getSheetColorHighlight, getTop, getWidth, hasAlpha, hashCode, isVisible, isVisibleInGroup, save, save, save, save, setBlendModeKey, setBottom, setChannelInformation, setClipping, setFiller, setFillOpacity, setFlags, setLayerBlendingRangesData, setLayerCreationDateTime, setLayerLock, setLayerMaskData, setLeft, setName, setOpacity, setResources, setRight, setSheetColorHighlight, setTop, setVisible, shallowCopy
adjustBrightness, adjustContrast, adjustGamma, adjustGamma, binarizeBradley, binarizeBradley, binarizeFixed, binarizeOtsu, cacheData, crop, dither, grayscale, isCached, resize, resize, rotate, rotateFlip
crop, dither, filter, getArgb32Pixel, getDefaultArgb32Pixels, getDefaultPixels, getDefaultRawData, getDefaultRawData, getHorizontalResolution, getImageOpacity, getModifyDate, getPixel, getPremultiplyComponents, getRawCustomColorConverter, getRawDataFormat, getRawDataSettings, getRawFallbackIndex, getRawIndexedColorConverter, getRawLineSize, getSkewAngle, getTransparentColor, getUpdateXmpData, getUseRawData, getVerticalResolution, getXmpData, hasTransparentColor, isRawDataAvailable, loadArgb32Pixels, loadArgb64Pixels, loadCmyk32Pixels, loadCmykPixels, loadPartialArgb32Pixels, loadPartialPixels, loadPixels, loadRawData, loadRawData, normalizeAngle, normalizeAngle, readArgb32ScanLine, readScanLine, replaceColor, replaceColor, replaceNonTransparentColors, replaceNonTransparentColors, rotate, saveArgb32Pixels, saveCmyk32Pixels, saveCmykPixels, savePixels, saveRawData, setArgb32Pixel, setHorizontalResolution, setPalette, setPixel, setPremultiplyComponents, setRawCustomColorConverter, setRawFallbackIndex, setRawIndexedColorConverter, setResolution, setTransparentColor, setTransparentColor, setUpdateXmpData, setUseRawData, setVerticalResolution, setXmpData, toBitmap, writeArgb32ScanLine, writeScanLine
canLoad, canLoad, canLoad, canLoad, canSave, create, getBackgroundColor, getBounds, getBufferSizeHint, getContainer, getDefaultOptions, getFileFormat, getFileFormat, getFileFormat, getFittingRectangle, getFittingRectangle, getInterruptMonitor, getOriginalOptions, getPalette, getProgressEventHandler, getProgressEventHandlerInfo, getProportionalHeight, getProportionalWidth, getSize, hasBackgroundColor, isAutoAdjustPalette, load, load, load, load, load, load, resize, resizeHeightProportionally, resizeHeightProportionally, resizeHeightProportionally, resizeWidthProportionally, resizeWidthProportionally, resizeWidthProportionally, save, save, save, save, save, setAutoAdjustPalette, setBackgroundColor, setBackgroundColor, setBufferSizeHint, setInterruptMonitor, setPalette
getDataStreamContainer, save, save, save
close, dispose, getDisposed
getClass, notify, notifyAll, toString, wait, wait, wait
loadPartialArgb32Pixels
getRawDataSettings, isRawDataAvailable, loadRawData
public final int getBrightness()
Gets the brightness. For PS range of brightness is from -150 to +150. But we ignore this.
public final void setBrightness(int value)
Sets the brightness. For PS range of brightness is from -150 to +150. But we ignore this.
value
- the brightness.public final int getContrast()
Gets the contrast. For PS range of contrast is from -50 to +100. But we ignore this.
public final void setContrast(int value)
Sets the contrast. For PS range of contrast is from -50 to +100. But we ignore this.
value
- the contrast.