LayerMaskDataShort

Overview

LayerMaskDataShort is a class in Aspose.PSD FOSS for Java. Inherits from: LayerMaskData.

Defines layer mask data for layers that have only a raster or vector mask.

This class declares 20 methods for LayerMaskDataShort objects in Java programs. Available methods include: LayerMaskDataShort, getBottom, getDataSize, getDefaultColor, getFlags, getImageData, getLeft, getMaskRectangle, getPadding, getRight, getTop, setBottom, and 8 additional methods. Public members are accessible to any Java application after installing the Aspose.PSD FOSS for Java package. Properties: bottom, dataSize, defaultColor, flags, imageData, left, and 4 more.

Properties

NameTypeAccessDescription
paddingshortRead/WriteGets or sets the padding.
bottomintRead/WriteGets or sets the bottom layer mask position.
dataSizeintReadGets the size of the layer mask data.
defaultColorbyteRead/WriteGets or sets the default color.
flagsLayerMaskFlagsRead/WriteGets or sets the flags.
imageDatabyte[]Read/WriteGets or sets the layer mask image data.
leftintRead/WriteGets or sets the left layer mask position.
maskRectangleRectangleRead/WriteGets or sets the mask rectangle.
rightintRead/WriteGets or sets the right layer mask position.
topintRead/WriteGets or sets the top layer mask position.

Methods

SignatureDescription
LayerMaskDataShort()Initializes a new instance of the LayerMaskDataShort class.
getPadding() → shortReturns the padding.
setPadding(padding: short)Sets the padding value.
getBottom() → intGets or sets the bottom layer mask position.
setBottom(value: int)Sets the bottom value.
getDataSize() → intGets the size of the layer mask data.
getDefaultColor() → byteReturns the default color.
setDefaultColor(value: byte)Sets the default color value.
getFlags() → LayerMaskFlagsReturns the flags.
setFlags(value: LayerMaskFlags)Sets the flags value.
getImageData() → byte[]Gets or sets the layer mask image data.
setImageData(value: byte[])Sets the image data value.
getLeft() → intGets or sets the left layer mask position.
setLeft(value: int)Sets the left value.
getMaskRectangle() → RectangleGets or sets the mask rectangle.
setMaskRectangle(value: Rectangle)Sets the mask rectangle value.
getRight() → intGets or sets the right layer mask position.
setRight(value: int)Sets the right value.
getTop() → intGets or sets the top layer mask position.
setTop(value: int)Sets the top value.

See Also