com.aspose.html.rendering.image

Class ImageDevice.ImageGraphicContext

  • All Implemented Interfaces:
    com.aspose.html.internal.ms.System.ICloneable, Cloneable
    Enclosing class:
    ImageDevice


    public static class ImageDevice.ImageGraphicContext
    extends GraphicContext

    Holds current graphics control parameters for the ImageDevice. These parameters define the global framework within which the graphics operators execute.

    • Constructor Detail

      • ImageGraphicContext

        public ImageGraphicContext()
    • Method Detail

      • getTransformationMatrix

        public com.aspose.html.internal.ms.System.Drawing.Drawing2D.Matrix getTransformationMatrix()

        Sets or gets transformation matrix.

        Overrides:
        getTransformationMatrix in class GraphicContext
      • setTransformationMatrix

        public void setTransformationMatrix(com.aspose.html.internal.ms.System.Drawing.Drawing2D.Matrix value)

        Sets or gets transformation matrix.

        Overrides:
        setTransformationMatrix in class GraphicContext
      • transform

        public void transform(com.aspose.html.internal.ms.System.Drawing.Drawing2D.Matrix matrix)

        Modify the current transformation matrix by multiplying the specified matrix.

        Overrides:
        transform in class GraphicContext
        Parameters:
        matrix - Transformation matrix.
      • setDevice

        public void setDevice(ImageDevice value)
      • deepClone

        public GraphicContext deepClone()

        Creates a new instance of a GdiGraphicContext class with the same property values as an existing instance.

        Specified by:
        deepClone in interface com.aspose.html.internal.ms.System.ICloneable
        Overrides:
        deepClone in class GraphicContext
        Returns:
        Instance of a GdiGraphicContext