Packages

 

com.aspose.cad.fileformats.dwf

Class DwfImage

    • Constructor Detail

      • DwfImage

        public DwfImage(DwfEPlotPage... pages)

        Initializes a new instance of the DwfImage class

        Parameters:
        pages - plot pages of image
    • Method Detail

      • getPages

        public com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DwfEPlotPage> getPages()

        Gets pages

      • getBitsPerPixel

        public int getBitsPerPixel()

        Gets bit per pixel

        Specified by:
        getBitsPerPixel in class Image
      • resize

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

        Resizes image

        Specified by:
        resize in class Image
        Parameters:
        newWidth - new width of image
        newHeight - new height of image
        settings - settings object
      • resize

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

        Resizes image

        Specified by:
        resize in class Image
        Parameters:
        newWidth - new width of image
        newHeight - new height of image
        resizeType - resize type of image
      • rotateFlip

        public void rotateFlip(int rotateFlipType)

        Rotates and flips image

        Specified by:
        rotateFlip in class Image
        Parameters:
        rotateFlipType - rotateFlip type
      • setPalette

        public void setPalette(IColorPalette palette,
                               boolean updateColors)

        Sets pallete for image

        Specified by:
        setPalette in class Image
        Parameters:
        palette - pallete object
        updateColors - need update colors