Interface IImageMask
Interface IImageMask
名称: Aspose.Imaging.MagicWand.ImageMasks 收藏: Aspose.Imaging.dll (25.4.0)
描述面具。
public interface IImageMask : ICloneable
Implements
Properties
Bounds
接到这个面具的边界,在像素中。
Rectangle Bounds { get; }
财产价值
Height
得到这个面具的高度,在像素。
int Height { get; }
财产价值
SelectionBounds
接收面具所选择部分的边界,在像素中。
Rectangle SelectionBounds { get; }
财产价值
Source
获取源图像用于创建这个面具,如果存在。
RasterImage Source { get; }
财产价值
Width
得到这个面具的宽度,在像素。
int Width { get; }
财产价值
Methods
GetByteOpacity(int , int , int)
以比特准确度获得指定的像素的可透明度。
byte GetByteOpacity(int x, int y)
Parameters
x
int
像素的X协调。
y
int
是 pixel 的 y 协调。
Returns
比特值,代表指定的像素的无效性。
IsOpaque(int , int , int)
检查指定的像素是否模糊。
bool IsOpaque(int x, int y)
Parameters
x
int
像素的X协调。
y
int
是 pixel 的 y 协调。
Returns
如果指定的像素是虚假的,否则是虚假的。
IsTransparent(int , int , int)
检查指定的像素是否透明。
bool IsTransparent(int x, int y)
Parameters
x
int
像素的X协调。
y
int
是 pixel 的 y 协调。
Returns
如果指定的像素是透明的,否则是假的。