public class ExtendedApsImage extends ExtendedApsNode
Represents a wrapper for the standard ApsImage, which extends some of the drawing behavior.
| Constructor and Description |
|---|
ExtendedApsImage(com.aspose.foundation.rendering.ApsImage internalImage)
Initializes a new instance of the
ExtendedApsImage class. |
| Modifier and Type | Method and Description |
|---|---|
void |
addToCompositeNode(com.aspose.foundation.rendering.ApsCompositeNode compositeNode)
Adds this node to given
compositeNode. |
void |
applyPlaneTransform(com.aspose.ms.System.Drawing.PointF transformVector)
Applies plane transform, moving node in x and y planes.
|
void |
applyScaleTransform(float scaleTransform)
Applies scaling to the image.
|
float |
getBottom()
Gets the bottom.
|
ExtendedApsNode |
getCopy()
Creates a full copy of this node.
|
com.aspose.ms.System.Drawing.PointF |
getOrigin()
Gets the origin.
|
com.aspose.ms.System.Drawing.SizeF |
getSize()
Gets the size.
|
float |
getTop()
Gets the top.
|
boolean |
isBackground()
Gets whether the image is a background image.
|
copyAttributes, copyAttributespublic ExtendedApsImage(com.aspose.foundation.rendering.ApsImage internalImage)
Initializes a new instance of the ExtendedApsImage class.
internalImage - The image.public float getBottom()
Gets the bottom.
getBottom in class ExtendedApsNodepublic com.aspose.ms.System.Drawing.PointF getOrigin()
Gets the origin.
getOrigin in class ExtendedApsNodepublic com.aspose.ms.System.Drawing.SizeF getSize()
Gets the size.
getSize in class ExtendedApsNodepublic float getTop()
Gets the top.
getTop in class ExtendedApsNodepublic final boolean isBackground()
Gets whether the image is a background image.
public void applyScaleTransform(float scaleTransform)
Applies scaling to the image.
applyScaleTransform in class ExtendedApsNodescaleTransform - The scale factor for the transformation.public void applyPlaneTransform(com.aspose.ms.System.Drawing.PointF transformVector)
Applies plane transform, moving node in x and y planes.
applyPlaneTransform in class ExtendedApsNodepublic ExtendedApsNode getCopy()
Creates a full copy of this node.
getCopy in class ExtendedApsNodeIExtendedApsNode.public void addToCompositeNode(com.aspose.foundation.rendering.ApsCompositeNode compositeNode)
Adds this node to given compositeNode.
addToCompositeNode in class ExtendedApsNodeCopyright (c) 2002-2021 Aspose. All Rights Reserved.