com.aspose.note

Class ExtendedApsImage



  • public class ExtendedApsImage
    extends ExtendedApsNode

    Represents a wrapper for the standard ApsImage, which extends some of the drawing behavior.

    • Constructor Detail

      • ExtendedApsImage

        public ExtendedApsImage(com.aspose.foundation.rendering.ApsImage internalImage)

        Initializes a new instance of the ExtendedApsImage class.

        Parameters:
        internalImage - The image.
    • Method Detail

      • getOrigin

        public com.aspose.ms.System.Drawing.PointF getOrigin()

        Gets the origin.

        Overrides:
        getOrigin in class ExtendedApsNode
      • getSize

        public com.aspose.ms.System.Drawing.SizeF getSize()

        Gets the size.

        Overrides:
        getSize in class ExtendedApsNode
      • isBackground

        public final boolean isBackground()

        Gets whether the image is a background image.

      • applyScaleTransform

        public void applyScaleTransform(float scaleTransform)

        Applies scaling to the image.

        Specified by:
        applyScaleTransform in class ExtendedApsNode
        Parameters:
        scaleTransform - The scale factor for the transformation.
      • applyPlaneTransform

        public void applyPlaneTransform(com.aspose.ms.System.Drawing.PointF transformVector)

        Applies plane transform, moving node in x and y planes.

        Specified by:
        applyPlaneTransform in class ExtendedApsNode
      • addToCompositeNode

        public void addToCompositeNode(com.aspose.foundation.rendering.ApsCompositeNode compositeNode)

        Adds this node to given compositeNode.

        Specified by:
        addToCompositeNode in class ExtendedApsNode