RasterImage

Inheritance: java.lang.Object, Image

All Implemented Interfaces: IRasterImageArgb32PixelLoader

Represents a raster image supporting raster graphics operations.

Methods

MethodDescription
getXmpData()Gets or sets the XMP metadata.
setXmpData(com.aspose.cad.xmp.XmpPacketWrapper value)Gets or sets the XMP metadata.
getRawIndexedColorConverter()Gets or sets the indexed color converter
setRawIndexedColorConverter(IIndexedColorConverter value)Gets or sets the indexed color converter
getRawCustomColorConverter()Gets or sets the custom color converter
setRawCustomColorConverter(IColorConverter value)Gets or sets the custom color converter
getRawFallbackIndex()Gets or sets the fallback index to use when palette index is out of bounds
setRawFallbackIndex(int value)Gets or sets the fallback index to use when palette index is out of bounds
getRawDataSettings()Gets the current raw data settings. Note when using these settings the data loads without conversion.
getRawDataFormat()Gets the raw data format.
getRawLineSize()Gets the raw line size in bytes.
isRawDataAvailable()Gets a value indicating whether raw data loading is available.
getBitsPerPixel()Gets the image bits per pixel count.
getHorizontalResolution()Gets or sets the horizontal resolution, in pixels per inch, of this RasterImage .
setHorizontalResolution(double value)Gets or sets the horizontal resolution, in pixels per inch, of this RasterImage .
getVerticalResolution()Gets or sets the vertical resolution, in pixels per inch, of this RasterImage .
setVerticalResolution(double value)Gets or sets the vertical resolution, in pixels per inch, of this RasterImage .
hasTransparentColor()Gets a value indicating whether image has transparent color.
setTransparentColor(boolean value)Gets a value indicating whether image has transparent color.
hasAlpha()Gets a value indicating whether this instance has alpha.
getTransparentColor()Gets the image transparent color.
setTransparentColor(com.aspose.cad.Color value)Gets the image transparent color.
dither(int ditheringMethod, int bitsCount)Performs dithering on the current image.
getDefaultPixels(com.aspose.cad.Rectangle rectangle, IPartialArgb32PixelLoader partialPixelLoader)Gets the default pixels array using partial pixel loader.
dither(int ditheringMethod, int bitsCount, com.aspose.cad.IColorPalette customPalette)Performs dithering on the current image.
resize(int newWidth, int newHeight, int resizeType)Resizes the image.
resize(int newWidth, int newHeight, ImageResizeSettings settings)Resizes the image.
binarizeOtsu()Binarization of an image with Otsu thresholding
binarizeBradley(double brightnessDifference)Binarization of an image using Bradley’s adaptive thresholding algorithm using the integral image thresholding
adjustBrightness(int brightness)Adjust of a brightness for image.
crop(com.aspose.cad.Rectangle rectangle)Cropping the image.
grayscale()Transformation of an image to its grayscale representation
binarizeFixed(byte threshold)Binarization of an image with predefined threshold
adjustGamma(float gammaRed, float gammaGreen, float gammaBlue)Gamma-correction of an image.
adjustGamma(float gamma)Gamma-correction of an image.
rotate(float angle, boolean resizeProportionally, com.aspose.cad.Color backgroundColor)Rotate image around the center.
adjustContrast(float contrast)Image contrasting
getDefaultRawData(com.aspose.cad.Rectangle rectangle, IPartialRawDataLoader partialRawDataLoader, RawDataSettings rawDataSettings)Gets the default raw data array using partial pixel loader.
getDefaultArgb32Pixels(com.aspose.cad.Rectangle rectangle)Gets the default 32-bit ARGB pixels array.
getDefaultRawData(com.aspose.cad.Rectangle rectangle, RawDataSettings rawDataSettings)Gets the default raw data array.
getArgb32Pixel(int x, int y)Gets an image 32-bit ARGB pixel.
getPixel(int x, int y)Gets an image pixel.
setArgb32Pixel(int x, int y, int argb32Color)Sets an image 32-bit ARGB pixel for the specified position.
setPixel(int x, int y, com.aspose.cad.Color color)Sets an image pixel for the specified position.
readScanLine(int scanLineIndex)Reads the whole scan line by the specified scan line index.
readScanLineArgb(int scanLineIndex)Reads the whole scan line by the specified scan line index.
writeScanLine(int scanLineIndex, int[] pixels)Writes the whole scan line to the specified scan line index.
writeScanLine(int scanLineIndex, com.aspose.cad.Color[] pixels)Writes the whole scan line to the specified scan line index.
loadPartialArgb32Pixels(com.aspose.cad.Rectangle desiredRectangle, IPartialArgb32PixelLoader pixelLoader)Loads 32-bit ARGB pixels partially by packs.
loadPartialPixels(com.aspose.cad.Rectangle desiredRectangle, IPartialPixelLoader pixelLoader)Loads pixels partially by packs.
loadArgb32Pixels(com.aspose.cad.Rectangle rectangle)Loads 32-bit ARGB pixels.
loadPixels(com.aspose.cad.Rectangle rectangle)Loads pixels.
loadCmykPixels(com.aspose.cad.Rectangle rectangle)Loads pixels in CMYK format.
loadRawData(com.aspose.cad.Rectangle rectangle, RawDataSettings rawDataSettings, IPartialRawDataLoader rawDataLoader)Loads raw data.
saveRawData(byte[] data, int dataOffset, com.aspose.cad.Rectangle rectangle, RawDataSettings rawDataSettings)Saves the raw data.
saveArgb32Pixels(com.aspose.cad.Rectangle rectangle, int[] pixels)Saves the 32-bit ARGB pixels.
savePixels(com.aspose.cad.Rectangle rectangle, com.aspose.cad.Color[] pixels)Saves the pixels.
saveCmykPixels(com.aspose.cad.Rectangle rectangle, com.aspose.cad.CmykColor[] pixels)Saves the pixels.
setResolution(double dpiX, double dpiY)Sets the resolution for this RasterImage .
setPalette(com.aspose.cad.IColorPalette palette, boolean updateColors)Sets the image palette.
crop(int leftShift, int rightShift, int topShift, int bottomShift)Crop image with shifts.
filter(com.aspose.cad.Rectangle rectangle, FilterOptionsBase options)Filters the specified rectangle.

getXmpData()

public com.aspose.cad.xmp.XmpPacketWrapper getXmpData()

Gets or sets the XMP metadata.

Returns: com.aspose.cad.xmp.XmpPacketWrapper - The XMP metadata.

setXmpData(com.aspose.cad.xmp.XmpPacketWrapper value)

public void setXmpData(com.aspose.cad.xmp.XmpPacketWrapper value)

Gets or sets the XMP metadata.

Parameters:

ParameterTypeDescription
valuecom.aspose.cad.xmp.XmpPacketWrapperThe XMP metadata.

getRawIndexedColorConverter()

public IIndexedColorConverter getRawIndexedColorConverter()

Gets or sets the indexed color converter

Returns: IIndexedColorConverter - The indexed color converter

setRawIndexedColorConverter(IIndexedColorConverter value)

public void setRawIndexedColorConverter(IIndexedColorConverter value)

Gets or sets the indexed color converter

Parameters:

ParameterTypeDescription
valueIIndexedColorConverterThe indexed color converter

getRawCustomColorConverter()

public IColorConverter getRawCustomColorConverter()

Gets or sets the custom color converter

Returns: IColorConverter - The custom color converter

setRawCustomColorConverter(IColorConverter value)

public void setRawCustomColorConverter(IColorConverter value)

Gets or sets the custom color converter

Parameters:

ParameterTypeDescription
valueIColorConverterThe custom color converter

getRawFallbackIndex()

public int getRawFallbackIndex()

Gets or sets the fallback index to use when palette index is out of bounds

Returns: int - The fallback index to use when palette index is out of bounds

setRawFallbackIndex(int value)

public void setRawFallbackIndex(int value)

Gets or sets the fallback index to use when palette index is out of bounds

Parameters:

ParameterTypeDescription
valueintThe fallback index to use when palette index is out of bounds

getRawDataSettings()

public RawDataSettings getRawDataSettings()

Gets the current raw data settings. Note when using these settings the data loads without conversion.

Returns: RawDataSettings - The current raw data settings.

getRawDataFormat()

public PixelDataFormat getRawDataFormat()

Gets the raw data format.

Returns: PixelDataFormat - The raw data format.

getRawLineSize()

public int getRawLineSize()

Gets the raw line size in bytes.

Returns: int - The raw line size in bytes.

isRawDataAvailable()

public boolean isRawDataAvailable()

Gets a value indicating whether raw data loading is available.

Returns: boolean - true if this raw data loading is available; otherwise, false .

getBitsPerPixel()

public abstract int getBitsPerPixel()

Gets the image bits per pixel count.

Returns: int - The image bits per pixel count.

getHorizontalResolution()

public double getHorizontalResolution()

Gets or sets the horizontal resolution, in pixels per inch, of this RasterImage .

Returns: double - The horizontal resolution. Note by default this value is always 96 since different platforms cannot return the screen resolution. You may consider using the SetResolution method for updating both resolution values in single call.

setHorizontalResolution(double value)

public void setHorizontalResolution(double value)

Gets or sets the horizontal resolution, in pixels per inch, of this RasterImage .

Parameters:

ParameterTypeDescription
valuedoubleThe horizontal resolution. Note by default this value is always 96 since different platforms cannot return the screen resolution. You may consider using the SetResolution method for updating both resolution values in single call.

getVerticalResolution()

public double getVerticalResolution()

Gets or sets the vertical resolution, in pixels per inch, of this RasterImage .

Returns: double - The vertical resolution. Note by default this value is always 96 since different platforms cannot return the screen resolution. You may consider using the SetResolution method for updating both resolution values in single call.

setVerticalResolution(double value)

public void setVerticalResolution(double value)

Gets or sets the vertical resolution, in pixels per inch, of this RasterImage .

Parameters:

ParameterTypeDescription
valuedoubleThe vertical resolution. Note by default this value is always 96 since different platforms cannot return the screen resolution. You may consider using the SetResolution method for updating both resolution values in single call.

hasTransparentColor()

public boolean hasTransparentColor()

Gets a value indicating whether image has transparent color.

Returns: boolean

setTransparentColor(boolean value)

public void setTransparentColor(boolean value)

Gets a value indicating whether image has transparent color.

hasAlpha()

public boolean hasAlpha()

Gets a value indicating whether this instance has alpha.

Returns: boolean - true if this instance has alpha; otherwise, false .

getTransparentColor()

public com.aspose.cad.Color getTransparentColor()

Gets the image transparent color.

Returns: com.aspose.cad.Color

setTransparentColor(com.aspose.cad.Color value)

public void setTransparentColor(com.aspose.cad.Color value)

Gets the image transparent color.

dither(int ditheringMethod, int bitsCount)

public void dither(int ditheringMethod, int bitsCount)

Performs dithering on the current image.

Parameters:

ParameterTypeDescription
ditheringMethodintThe dithering method.
bitsCountintThe final bits count for dithering.

getDefaultPixels(com.aspose.cad.Rectangle rectangle, IPartialArgb32PixelLoader partialPixelLoader)

public void getDefaultPixels(com.aspose.cad.Rectangle rectangle, IPartialArgb32PixelLoader partialPixelLoader)

Gets the default pixels array using partial pixel loader.

Parameters:

ParameterTypeDescription
rectanglecom.aspose.cad.RectangleThe rectangle to get pixels for.
partialPixelLoaderIPartialArgb32PixelLoaderThe partial pixel loader.

dither(int ditheringMethod, int bitsCount, com.aspose.cad.IColorPalette customPalette)

public abstract void dither(int ditheringMethod, int bitsCount, com.aspose.cad.IColorPalette customPalette)

Performs dithering on the current image.

Parameters:

ParameterTypeDescription
ditheringMethodintThe dithering method.
bitsCountintThe final bits count for dithering.
customPalettecom.aspose.cad.IColorPaletteThe custom palette for dithering.

resize(int newWidth, int newHeight, int resizeType)

public abstract void resize(int newWidth, int newHeight, int resizeType)

Resizes the image.

Parameters:

ParameterTypeDescription
newWidthintThe new width.
newHeightintThe new height.
resizeTypeintThe resize type.

resize(int newWidth, int newHeight, ImageResizeSettings settings)

public abstract void resize(int newWidth, int newHeight, ImageResizeSettings settings)

Resizes the image.

Parameters:

ParameterTypeDescription
newWidthintThe new width.
newHeightintThe new height.
settingsImageResizeSettingsThe resize settings.

binarizeOtsu()

public abstract void binarizeOtsu()

Binarization of an image with Otsu thresholding

binarizeBradley(double brightnessDifference)

public abstract void binarizeBradley(double brightnessDifference)

Binarization of an image using Bradley’s adaptive thresholding algorithm using the integral image thresholding

Parameters:

ParameterTypeDescription
brightnessDifferencedoubleThe brightness difference between pixel and the average of an s x s window of pixels centered around this pixel.

adjustBrightness(int brightness)

public abstract void adjustBrightness(int brightness)

Adjust of a brightness for image.

Parameters:

ParameterTypeDescription
brightnessintBrightness value.

crop(com.aspose.cad.Rectangle rectangle)

public abstract void crop(com.aspose.cad.Rectangle rectangle)

Cropping the image.

Parameters:

ParameterTypeDescription
rectanglecom.aspose.cad.RectangleThe rectangle.

grayscale()

public abstract void grayscale()

Transformation of an image to its grayscale representation

binarizeFixed(byte threshold)

public abstract void binarizeFixed(byte threshold)

Binarization of an image with predefined threshold

Parameters:

ParameterTypeDescription
thresholdbyteThreshold value. If corresponding gray value of a pixel is greater than threshold, a value of 255 will be assigned to it, 0 otherwise.

adjustGamma(float gammaRed, float gammaGreen, float gammaBlue)

public abstract void adjustGamma(float gammaRed, float gammaGreen, float gammaBlue)

Gamma-correction of an image.

Parameters:

ParameterTypeDescription
gammaRedfloatGamma for red channel coefficient
gammaGreenfloatGamma for green channel coefficient
gammaBluefloatGamma for blue channel coefficient

adjustGamma(float gamma)

public abstract void adjustGamma(float gamma)

Gamma-correction of an image.

Parameters:

ParameterTypeDescription
gammafloatGamma for red, green and blue channels coefficient

rotate(float angle, boolean resizeProportionally, com.aspose.cad.Color backgroundColor)

public abstract void rotate(float angle, boolean resizeProportionally, com.aspose.cad.Color backgroundColor)

Rotate image around the center.

Parameters:

ParameterTypeDescription
anglefloatThe rotate angle in degrees. Positive values will rotate clockwise.
resizeProportionallybooleanif set to true you will have your image size changed according to rotated rectangle (corner points) projections in other case that leaves dimensions untouched and only internal image contents are rotated.
backgroundColorcom.aspose.cad.ColorColor of the background.

adjustContrast(float contrast)

public abstract void adjustContrast(float contrast)

Image contrasting

Parameters:

ParameterTypeDescription
contrastfloatContrast value (in range [-100; 100])

getDefaultRawData(com.aspose.cad.Rectangle rectangle, IPartialRawDataLoader partialRawDataLoader, RawDataSettings rawDataSettings)

public void getDefaultRawData(com.aspose.cad.Rectangle rectangle, IPartialRawDataLoader partialRawDataLoader, RawDataSettings rawDataSettings)

Gets the default raw data array using partial pixel loader.

Parameters:

ParameterTypeDescription
rectanglecom.aspose.cad.RectangleThe rectangle to get pixels for.
partialRawDataLoaderIPartialRawDataLoaderThe partial raw data loader.
rawDataSettingsRawDataSettingsThe raw data settings.

getDefaultArgb32Pixels(com.aspose.cad.Rectangle rectangle)

public int[] getDefaultArgb32Pixels(com.aspose.cad.Rectangle rectangle)

Gets the default 32-bit ARGB pixels array.

Parameters:

ParameterTypeDescription
rectanglecom.aspose.cad.RectangleThe rectangle to get pixels for.

Returns: int[] - The default pixels array.

getDefaultRawData(com.aspose.cad.Rectangle rectangle, RawDataSettings rawDataSettings)

public byte[] getDefaultRawData(com.aspose.cad.Rectangle rectangle, RawDataSettings rawDataSettings)

Gets the default raw data array.

Parameters:

ParameterTypeDescription
rectanglecom.aspose.cad.RectangleThe rectangle to get raw data for.
rawDataSettingsRawDataSettingsThe raw data settings.

Returns: byte[] - The default raw data array.

getArgb32Pixel(int x, int y)

public int getArgb32Pixel(int x, int y)

Gets an image 32-bit ARGB pixel.

Parameters:

ParameterTypeDescription
xintThe pixel x location.
yintThe pixel y location.

Returns: int - The 32-bit ARGB pixel for the specified location.

getPixel(int x, int y)

public com.aspose.cad.Color getPixel(int x, int y)

Gets an image pixel.

Parameters:

ParameterTypeDescription
xintThe pixel x location.
yintThe pixel y location.

Returns: com.aspose.cad.Color - The pixel color for the specified location.

setArgb32Pixel(int x, int y, int argb32Color)

public void setArgb32Pixel(int x, int y, int argb32Color)

Sets an image 32-bit ARGB pixel for the specified position.

Parameters:

ParameterTypeDescription
xintThe pixel x location.
yintThe pixel y location.
argb32ColorintThe 32-bit ARGB pixel for the specified position.

setPixel(int x, int y, com.aspose.cad.Color color)

public void setPixel(int x, int y, com.aspose.cad.Color color)

Sets an image pixel for the specified position.

Parameters:

ParameterTypeDescription
xintThe pixel x location.
yintThe pixel y location.
colorcom.aspose.cad.ColorThe pixel color for the specified position.

readScanLine(int scanLineIndex)

public com.aspose.cad.Color[] readScanLine(int scanLineIndex)

Reads the whole scan line by the specified scan line index.

Parameters:

ParameterTypeDescription
scanLineIndexintZero based index of the scan line.

Returns: com.aspose.cad.Color[] - The scan line pixel color values array.

readScanLineArgb(int scanLineIndex)

public int[] readScanLineArgb(int scanLineIndex)

Reads the whole scan line by the specified scan line index.

Parameters:

ParameterTypeDescription
scanLineIndexintZero based index of the scan line.

Returns: int[] - The scan line pixel color values array as ARGB.

writeScanLine(int scanLineIndex, int[] pixels)

public void writeScanLine(int scanLineIndex, int[] pixels)

Writes the whole scan line to the specified scan line index.

Parameters:

ParameterTypeDescription
scanLineIndexintZero based index of the scan line.
pixelsint[]The pixel colors array as ARGB to write.

writeScanLine(int scanLineIndex, com.aspose.cad.Color[] pixels)

public void writeScanLine(int scanLineIndex, com.aspose.cad.Color[] pixels)

Writes the whole scan line to the specified scan line index.

Parameters:

ParameterTypeDescription
scanLineIndexintZero based index of the scan line.
pixelscom.aspose.cad.Color[]The pixel colors array to write.

loadPartialArgb32Pixels(com.aspose.cad.Rectangle desiredRectangle, IPartialArgb32PixelLoader pixelLoader)

public void loadPartialArgb32Pixels(com.aspose.cad.Rectangle desiredRectangle, IPartialArgb32PixelLoader pixelLoader)

Loads 32-bit ARGB pixels partially by packs.

Parameters:

ParameterTypeDescription
desiredRectanglecom.aspose.cad.RectangleThe desired rectangle.
pixelLoaderIPartialArgb32PixelLoaderThe 32-bit ARGB pixel loader.

loadPartialPixels(com.aspose.cad.Rectangle desiredRectangle, IPartialPixelLoader pixelLoader)

public void loadPartialPixels(com.aspose.cad.Rectangle desiredRectangle, IPartialPixelLoader pixelLoader)

Loads pixels partially by packs.

Parameters:

ParameterTypeDescription
desiredRectanglecom.aspose.cad.RectangleThe desired rectangle.
pixelLoaderIPartialPixelLoaderThe pixel loader.

loadArgb32Pixels(com.aspose.cad.Rectangle rectangle)

public int[] loadArgb32Pixels(com.aspose.cad.Rectangle rectangle)

Loads 32-bit ARGB pixels.

Parameters:

ParameterTypeDescription
rectanglecom.aspose.cad.RectangleThe rectangle to load pixels from.

Returns: int[] - The loaded 32-bit ARGB pixels array.

loadPixels(com.aspose.cad.Rectangle rectangle)

public com.aspose.cad.Color[] loadPixels(com.aspose.cad.Rectangle rectangle)

Loads pixels.

Parameters:

ParameterTypeDescription
rectanglecom.aspose.cad.RectangleThe rectangle to load pixels from.

Returns: com.aspose.cad.Color[] - The loaded pixels array.

loadCmykPixels(com.aspose.cad.Rectangle rectangle)

public com.aspose.cad.CmykColor[] loadCmykPixels(com.aspose.cad.Rectangle rectangle)

Loads pixels in CMYK format.

Parameters:

ParameterTypeDescription
rectanglecom.aspose.cad.RectangleThe rectangle to load pixels from.

Returns: com.aspose.cad.CmykColor[] - The loaded CMYK pixels array.

loadRawData(com.aspose.cad.Rectangle rectangle, RawDataSettings rawDataSettings, IPartialRawDataLoader rawDataLoader)

public void loadRawData(com.aspose.cad.Rectangle rectangle, RawDataSettings rawDataSettings, IPartialRawDataLoader rawDataLoader)

Loads raw data.

Parameters:

ParameterTypeDescription
rectanglecom.aspose.cad.RectangleThe rectangle to load raw data from.
rawDataSettingsRawDataSettingsThe raw data settings to use for loaded data. Note if data is not in the format specified then data conversion will be performed.
rawDataLoaderIPartialRawDataLoaderThe raw data loader.

saveRawData(byte[] data, int dataOffset, com.aspose.cad.Rectangle rectangle, RawDataSettings rawDataSettings)

public void saveRawData(byte[] data, int dataOffset, com.aspose.cad.Rectangle rectangle, RawDataSettings rawDataSettings)

Saves the raw data.

Parameters:

ParameterTypeDescription
databyte[]The raw data.
dataOffsetintThe starting raw data offset.
rectanglecom.aspose.cad.RectangleThe raw data rectangle.
rawDataSettingsRawDataSettingsThe raw data settings the data is in.

saveArgb32Pixels(com.aspose.cad.Rectangle rectangle, int[] pixels)

public void saveArgb32Pixels(com.aspose.cad.Rectangle rectangle, int[] pixels)

Saves the 32-bit ARGB pixels.

Parameters:

ParameterTypeDescription
rectanglecom.aspose.cad.RectangleThe rectangle to save pixels to.
pixelsint[]The 32-bit ARGB pixels array.

savePixels(com.aspose.cad.Rectangle rectangle, com.aspose.cad.Color[] pixels)

public void savePixels(com.aspose.cad.Rectangle rectangle, com.aspose.cad.Color[] pixels)

Saves the pixels.

Parameters:

ParameterTypeDescription
rectanglecom.aspose.cad.RectangleThe rectangle to save pixels to.
pixelscom.aspose.cad.Color[]The pixels array.

saveCmykPixels(com.aspose.cad.Rectangle rectangle, com.aspose.cad.CmykColor[] pixels)

public void saveCmykPixels(com.aspose.cad.Rectangle rectangle, com.aspose.cad.CmykColor[] pixels)

Saves the pixels.

Parameters:

ParameterTypeDescription
rectanglecom.aspose.cad.RectangleThe rectangle to save pixels to.
pixelscom.aspose.cad.CmykColor[]The CMYK pixels array.

setResolution(double dpiX, double dpiY)

public void setResolution(double dpiX, double dpiY)

Sets the resolution for this RasterImage .

Parameters:

ParameterTypeDescription
dpiXdoubleThe horizontal resolution, in dots per inch, of the RasterImage .
dpiYdoubleThe vertical resolution, in dots per inch, of the RasterImage .

setPalette(com.aspose.cad.IColorPalette palette, boolean updateColors)

public void setPalette(com.aspose.cad.IColorPalette palette, boolean updateColors)

Sets the image palette.

Parameters:

ParameterTypeDescription
palettecom.aspose.cad.IColorPaletteThe palette to set.
updateColorsbooleanif set to true colors will be updated according to the new palette; otherwise color indexes remain unchanged. Note that unchanged indexes may crash the image on loading if some indexes have no corresponding palette entries.

crop(int leftShift, int rightShift, int topShift, int bottomShift)

public void crop(int leftShift, int rightShift, int topShift, int bottomShift)

Crop image with shifts.

Parameters:

ParameterTypeDescription
leftShiftintThe left shift.
rightShiftintThe right shift.
topShiftintThe top shift.
bottomShiftintThe bottom shift.

filter(com.aspose.cad.Rectangle rectangle, FilterOptionsBase options)

public void filter(com.aspose.cad.Rectangle rectangle, FilterOptionsBase options)

Filters the specified rectangle.

Parameters:

ParameterTypeDescription
rectanglecom.aspose.cad.RectangleThe rectangle.
optionsFilterOptionsBaseThe options.