VectorMask

A struct representing a vector mask as stored in the layers of the Layer Mask section.

Members

Variables

bottom
int bottom;

Bottom coordinate of the rectangle that encloses the mask.

data
ubyte[] data;

Planar data, having a size of (right-left)*(bottom-top)*bytesPerPixel.

defaultColor
ubyte defaultColor;

The mask's default color regions outside the enclosing rectangle.

density
ubyte density;

The mask's density value.

feather
double feather;

The mask's feather value.

fileOffset
ulong fileOffset;

The offset from the start of the file where the channel's data is stored.

left
int left;

Left coordinate of the rectangle that encloses the mask.

right
int right;

Right coordinate of the rectangle that encloses the mask.

top
int top;

Top coordinate of the rectangle that encloses the mask.

Meta