com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class BaseImageRenderParam



  • public class BaseImageRenderParam
    extends BaseRenderParam

    Parameter for image rendering.

    • Constructor Detail

      • BaseImageRenderParam

        public BaseImageRenderParam(BufferedImage image,
                                    Point location,
                                    Dimension size,
                                    int zoom,
                                    int page,
                                    boolean legendOnEachPage)

        BaseImageRenderParam public constructor.

        Parameters:
        image - BufferedImage to render.
        location - Start location.
        size - Rendering size.
        zoom - Rendering zoom.
        page - Page to render.
        legendOnEachPage - Show legend on each page.
      • BaseImageRenderParam

        public BaseImageRenderParam(BufferedImage image,
                                    Point location,
                                    Dimension size,
                                    int zoom,
                                    int page,
                                    boolean legendOnEachPage,
                                    Date startDate,
                                    Date endDate)

        BaseImageRenderParam public constructor.

        Parameters:
        image - BufferedImage to render.
        location - Start location.
        size - Rendering size.
        zoom - Rendering zoom.
        page - Page to render.
        legendOnEachPage - Show legend on each page.
        startDate - Rendering start date.
        endDate - Rendering end date.
      • BaseImageRenderParam

        public BaseImageRenderParam(BufferedImage image,
                                    Point location,
                                    Dimension size,
                                    int zoom,
                                    int page,
                                    boolean legendOnEachPage,
                                    Date startDate,
                                    Date endDate,
                                    int scale)

        BaseImageRenderParam public constructor.

        Parameters:
        image - BufferedImage to render.
        location - Start location.
        size - Rendering size.
        zoom - Rendering zoom.
        page - Page to render.
        legendOnEachPage - Show legend on each page.
        startDate - Rendering start date.
        endDate - Rendering end date.
        scale - Time scale.
      • BaseImageRenderParam

        public BaseImageRenderParam(BufferedImage image,
                                    Point location,
                                    Dimension size,
                                    int zoom,
                                    int page,
                                    boolean legendOnEachPage,
                                    Date startDate,
                                    Date endDate,
                                    int scale,
                                    ImageFormat format)

        BaseImageRenderParam public constructor.

        Parameters:
        image - BufferedImage to render.
        location - Start location.
        size - Rendering size.
        zoom - Rendering zoom.
        page - Page to render.
        legendOnEachPage - Show legend on each page.
        startDate - Rendering start date.
        endDate - Rendering end date.
        scale - Time scale.
        format - Image saving format.
    • Method Detail

      • getGfx

        public Graphics2D getGfx()
        Returns graphics to render.
        Returns:
        graphics to render (Graphics2D).
      • getFormat

        public ImageFormat getFormat()

        Returns image saving format.

        Returns:
        image format.
      • setFormat

        public void setFormat(ImageFormat value)
        Sets image saving format.
        Parameters:
        value - image format.