---
Product: psd
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/psd/net/layermaskdatashort
---

# LayerMaskDataShort

## Overview

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

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

This class declares 1 method for LayerMaskDataShort objects in .NET programs.
Available methods include: `LayerMaskDataShort`.
Public members are accessible to any .NET application after installing the Aspose.PSD FOSS for .NET package.
Properties: `Bottom`, `DataSize`, `DefaultColor`, `Flags`, `ImageData`, `Left`, and 4 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Padding` | `short` | Read/Write | Gets or sets the layer mask 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 layer mask color. |
| `Flags` | `LayerMaskFlags` | Read/Write | Gets or sets the layer mask 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. |

## See Also

- [Aspose.PSD for .NET — Enterprise API Reference](https://reference.aspose.com/psd/net/)