ExtendedApsImage

Inheritance: java.lang.Object, com.aspose.note.ExtendedApsNode

public class ExtendedApsImage extends ExtendedApsNode

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

Constructors

ConstructorDescription
ExtendedApsImage(ApsImage internalImage)Initializes a new instance of the ExtendedApsImage class.

Methods

MethodDescription
addToCompositeNode(ApsCompositeNode compositeNode)Adds this node to given compositeNode.
applyPlaneTransform(System.Drawing.PointF transformVector)Applies plane transform, moving node in x and y planes.
applyScaleTransform(float scaleTransform)Applies scaling to the image.
getBottom()Gets the bottom.
getCopy()Creates a full copy of this node.
getOrigin()Gets the origin.
getSize()Gets the size.
getTop()Gets the top.
isBackground()Gets whether the image is a background image.

ExtendedApsImage(ApsImage internalImage)

public ExtendedApsImage(ApsImage internalImage)

Initializes a new instance of the ExtendedApsImage class.

Parameters:

ParameterTypeDescription
internalImagecom.aspose.foundation.rendering.ApsImageThe image.

addToCompositeNode(ApsCompositeNode compositeNode)

public void addToCompositeNode(ApsCompositeNode compositeNode)

Adds this node to given compositeNode.

Parameters:

ParameterTypeDescription
compositeNodecom.aspose.foundation.rendering.ApsCompositeNode

applyPlaneTransform(System.Drawing.PointF transformVector)

public void applyPlaneTransform(System.Drawing.PointF transformVector)

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

Parameters:

ParameterTypeDescription
transformVectorcom.aspose.ms.System.Drawing.PointF

applyScaleTransform(float scaleTransform)

public void applyScaleTransform(float scaleTransform)

Applies scaling to the image.

Parameters:

ParameterTypeDescription
scaleTransformfloatThe scale factor for the transformation.

getBottom()

public float getBottom()

Gets the bottom.

Returns: float

getCopy()

public ExtendedApsNode getCopy()

Creates a full copy of this node.

Returns: ExtendedApsNode - The IExtendedApsNode.

getOrigin()

public System.Drawing.PointF getOrigin()

Gets the origin.

Returns: com.aspose.ms.System.Drawing.PointF

getSize()

public System.Drawing.SizeF getSize()

Gets the size.

Returns: com.aspose.ms.System.Drawing.SizeF

getTop()

public float getTop()

Gets the top.

Returns: float

isBackground()

public final boolean isBackground()

Gets whether the image is a background image.

Returns: boolean