public class HueSaturationLayer extends AdjustmentLayer
HueSaturation adjustment layer.
AdjustmentLayer
,
Layer
Image.AfterCreate, Image.AfterLoad, Image.ImageOperation
BlendSignature, LayerHeaderSize
Modifier and Type | Method and Description |
---|---|
boolean |
getColorize()
Gets or sets a value indicating whether this
HueSaturationLayer is colorize. |
short |
getHue()
Gets or sets the hue.
|
short |
getLightness()
Gets or sets the lightness.
|
ColorRangeHsl |
getRange(int index)
Gets the range.
|
short |
getSaturation()
Gets or sets the saturation.
|
void |
setColorize(boolean value)
Gets or sets a value indicating whether this
HueSaturationLayer is colorize. |
void |
setHue(short value)
Gets or sets the hue.
|
void |
setLightness(short value)
Gets or sets the lightness.
|
void |
setSaturation(short value)
Gets or sets the saturation.
|
mergeLayerTo
addLayerMask, drawImage, equals, getBitsPerPixel, getBlendingOptions, getBlendModeKey, getBlendModeSignature, getBottom, getChannelInformation, getChannelsCount, getClipping, getDisplayName, getExtraLength, getFiller, getFillOpacity, getFlags, getHeight, getLayerBlendingRangesData, 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, setDisplayName, 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, getAutoAdjustPalette, getBackgroundColor, getBounds, getBufferSizeHint, getContainer, getDefaultOptions, getFileFormat, getFileFormat, getFileFormat, getFittingRectangle, getFittingRectangle, getInterruptMonitor, getOriginalOptions, getPalette, getProgressEventHandler, getProgressEventHandlerInfo, getProportionalHeight, getProportionalWidth, getSize, hasBackgroundColor, load, load, load, load, resize, resizeHeightProportionally, resizeHeightProportionally, resizeHeightProportionally, resizeWidthProportionally, resizeWidthProportionally, resizeWidthProportionally, save, save, setAutoAdjustPalette, setBackgroundColor, setBackgroundColor, setBufferSizeHint, setInterruptMonitor, setPalette
getDataStreamContainer, save, save, setDataStreamContainer
dispose, getDisposed
public final short getHue()
Gets or sets the hue.
com.aspose.ms.System.ArgumentOutOfRangeException
- Hue must be in range from -180 to +180
Value:
The hue.public final void setHue(short value)
Gets or sets the hue.
com.aspose.ms.System.ArgumentOutOfRangeException
- Hue must be in range from -180 to +180
Value:
The hue.public final short getSaturation()
Gets or sets the saturation.
com.aspose.ms.System.ArgumentOutOfRangeException
- Saturation must be in range from -100 to +100
Value:
The saturation.public final void setSaturation(short value)
Gets or sets the saturation.
com.aspose.ms.System.ArgumentOutOfRangeException
- Saturation must be in range from -100 to +100
Value:
The saturation.public final short getLightness()
Gets or sets the lightness.
com.aspose.ms.System.ArgumentOutOfRangeException
- Lightness must be in range from -100 to +100
Value:
The lightness.public final void setLightness(short value)
Gets or sets the lightness.
com.aspose.ms.System.ArgumentOutOfRangeException
- Lightness must be in range from -100 to +100
Value:
The lightness.public final boolean getColorize()
Gets or sets a value indicating whether this HueSaturationLayer
is colorize.
true
if colorize; otherwise, false
.public final void setColorize(boolean value)
Gets or sets a value indicating whether this HueSaturationLayer
is colorize.
true
if colorize; otherwise, false
.public final ColorRangeHsl getRange(int index)
Gets the range.
index
- The index.Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.