ExtendedApsImage
Contents
[
Hide
]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
Constructor | Description |
---|---|
ExtendedApsImage(ApsImage internalImage) | Initializes a new instance of the ExtendedApsImage class. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
internalImage | com.aspose.foundation.rendering.ApsImage | The image. |
addToCompositeNode(ApsCompositeNode compositeNode)
public void addToCompositeNode(ApsCompositeNode compositeNode)
Adds this node to given compositeNode
.
Parameters:
Parameter | Type | Description |
---|---|---|
compositeNode | com.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:
Parameter | Type | Description |
---|---|---|
transformVector | com.aspose.ms.System.Drawing.PointF |
applyScaleTransform(float scaleTransform)
public void applyScaleTransform(float scaleTransform)
Applies scaling to the image.
Parameters:
Parameter | Type | Description |
---|---|---|
scaleTransform | float | The 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