Class Mask
Inheritance
System.Object
Mask
Syntax
Constructors
Mask(Layer)
Declaration
Parameters
Type |
Name |
Description |
Layer |
layer |
|
Mask(Layer, Rectangle, Byte, BitVector32)
Declaration
public Mask(Layer layer, Rectangle rect, byte color, BitVector32 flags)
Parameters
Type |
Name |
Description |
Layer |
layer |
|
Rectangle |
rect |
|
System.Byte |
color |
|
BitVector32 |
flags |
|
Properties
BackgroundColor
Declaration
public byte BackgroundColor { get; set; }
Property Value
Type |
Description |
System.Byte |
|
Disabled
Declaration
public bool Disabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Flags
Declaration
public BitVector32 Flags { get; }
Property Value
Type |
Description |
BitVector32 |
|
ImageData
Declaration
public byte[] ImageData { get; set; }
Property Value
Type |
Description |
System.Byte[] |
|
InvertOnBlend
if true, invert the mask when blending.
Declaration
public bool InvertOnBlend { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Layer
The layer to which this mask belongs
Declaration
public Layer Layer { get; }
Property Value
PositionVsLayer
If true, the position of the mask is relative to the layer.
Declaration
public bool PositionVsLayer { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Rect
The rectangle enclosing the mask.
Declaration
public Rectangle Rect { get; set; }
Property Value