Class EmptyImageMask
Nazwa przestrzeń: Aspose.Imaging.MagicWand.ImageMasks Zgromadzenie: Aspose.Imaging.dll (25.4.0)
Opisuje pustą, nieabstrakcyjną maskę.
public class EmptyImageMask : ImageMask, IImageMask, ICloneable
Inheritance
object ← ImageMask ← EmptyImageMask
Implements
Dziedziczeni członkowie
ImageMask.Inflate(int) , ImageMask.Crop(Size) , ImageMask.Crop(int, int) , ImageMask.Crop(Rectangle) , ImageMask.IsOpaque(int, int) , ImageMask.IsTransparent(int, int) , ImageMask.GetByteOpacity(int, int) , ImageMask.Clone() , ImageMask.GetFeathered(FeatheringSettings) , ImageMask.Apply() , ImageMask.ApplyTo(RasterImage) , ImageMask.Invert() , ImageMask.Union(ImageMask) , ImageMask.Union(MagicWandSettings) , ImageMask.Union(RasterImage, MagicWandSettings) , ImageMask.Subtract(ImageMask) , ImageMask.Subtract(MagicWandSettings) , ImageMask.Subtract(RasterImage, MagicWandSettings) , ImageMask.Intersect(ImageMask) , ImageMask.Intersect(MagicWandSettings) , ImageMask.Intersect(RasterImage, MagicWandSettings) , ImageMask.ExclusiveDisjunction(ImageMask) , ImageMask.ExclusiveDisjunction(MagicWandSettings) , ImageMask.ExclusiveDisjunction(RasterImage, MagicWandSettings) , ImageMask.Source , ImageMask.Width , ImageMask.Height , ImageMask.Bounds , ImageMask.SelectionBounds , ImageMask.this[int, int] , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
EmptyImageMask(i int, int)
Inicjalizuje nową instancję klasy Aspose.Imaging.MagicWand.ImageMasks.Empty ImageMask z określoną szerokością i wysokością.
public EmptyImageMask(int width, int height)
Parameters
width
int
Szerokość maski.
height
int
Wysokość maski.
Properties
SelectionBounds
Dostarcza granice wybranej części maski, w pikselach.
public override Rectangle SelectionBounds { get; }
Wartość nieruchomości
Tego[i int, int]
Otrzymuje nieprawidłowość określonego piksela.
public override bool this[int x, int y] { get; }
Wartość nieruchomości
Methods
Clone()
Tworzy nowy obiekt, który jest kopią obecnej instancji.
public override object Clone()
Returns
Nowy obiekt, który jest kopią tej instancji.
Crop(Rectangle)
Maska z określonymi rektangulami.
public override ImageMask Crop(Rectangle rectangle)
Parameters
rectangle
Rectangle
określoną rektangulę.
Returns
Wystarczy zamknąć EmptyImage jako ImageMask.
Inflate(Int)
Ta maska jest podawana w określonym ilości.
public override ImageMask Inflate(int size)
Parameters
size
int
Ilość tej maski.
Returns
Inflowany EmptyImageMask jako ImageMusk.