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

# LayerMaskData

## Overview

`LayerMaskData` is a class in Aspose.PSD FOSS for .NET.

Defines the base class for PSD layer mask data.

Properties: `Bottom`, `DataSize`, `DefaultColor`, `Flags`, `ImageData`, `Left`, and 3 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `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. |

## See Also

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