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, copyAttributes
public 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 ExtendedApsNode
public com.aspose.ms.System.Drawing.PointF getOrigin()
Gets the origin.
getOrigin
in class ExtendedApsNode
public com.aspose.ms.System.Drawing.SizeF getSize()
Gets the size.
getSize
in class ExtendedApsNode
public float getTop()
Gets the top.
getTop
in class ExtendedApsNode
public final boolean isBackground()
Gets whether the image is a background image.
public void applyScaleTransform(float scaleTransform)
Applies scaling to the image.
applyScaleTransform
in class ExtendedApsNode
scaleTransform
- 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 ExtendedApsNode
public ExtendedApsNode getCopy()
Creates a full copy of this node.
getCopy
in class ExtendedApsNode
IExtendedApsNode
.public void addToCompositeNode(com.aspose.foundation.rendering.ApsCompositeNode compositeNode)
Adds this node to given compositeNode
.
addToCompositeNode
in class ExtendedApsNode