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
| Name | Type | Access | Description |
|---|---|---|---|
padding | short | Read/Write | Gets or sets the padding. |
bottom | int | Read/Write | Gets or sets the bottom layer mask position. |
dataSize | int | Read | Gets the size of the layer mask data. |
defaultColor | byte | Read/Write | Gets or sets the default color. |
flags | LayerMaskFlags | Read/Write | Gets or sets the flags. |
imageData | byte[] | Read/Write | Gets or sets the layer mask image data. |
left | int | Read/Write | Gets or sets the left layer mask position. |
maskRectangle | Rectangle | Read/Write | Gets or sets the mask rectangle. |
right | int | Read/Write | Gets or sets the right layer mask position. |
top | int | Read/Write | Gets or sets the top layer mask position. |
Methods
| Signature | Description |
|---|---|
LayerMaskDataShort() | Initializes a new instance of the LayerMaskDataShort class. |
getPadding() → short | Returns the padding. |
setPadding(padding: short) | Sets the padding value. |
getBottom() → int | Gets or sets the bottom layer mask position. |
setBottom(value: int) | Sets the bottom value. |
getDataSize() → int | Gets the size of the layer mask data. |
getDefaultColor() → byte | Returns the default color. |
setDefaultColor(value: byte) | Sets the default color value. |
getFlags() → LayerMaskFlags | Returns 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() → int | Gets or sets the left layer mask position. |
setLeft(value: int) | Sets the left value. |
getMaskRectangle() → Rectangle | Gets or sets the mask rectangle. |
setMaskRectangle(value: Rectangle) | Sets the mask rectangle value. |
getRight() → int | Gets or sets the right layer mask position. |
setRight(value: int) | Sets the right value. |
getTop() → int | Gets or sets the top layer mask position. |
setTop(value: int) | Sets the top value. |