com.aspose.slides
Class ShapeEx

java.lang.Object
  extended by com.aspose.slides.ShapeEx
Direct Known Subclasses:
AutoShapeEx, GraphicalObjectEx, GroupShapeEx, PictureFrameEx

public class ShapeEx
extends java.lang.Object

Represents a shape on a slide.


Method Summary
 FillFormatEx getFillFormat()
          Returns the FillFormatEx object that contains fill formatting properties for a shape.
 float getHeight()
          Returns the height of the shape.
 HyperlinkEx getHLinkClick()
          Returns the hyperlink defined for mouse click.
 HyperlinkEx getHLinkMouseOver()
          Returns the hyperlink defined for mouse over.
 LineFormatEx getLineFormat()
          Returns the LineFormatEx object that contains line formatting properties for a shape.
 BaseSlideEx getParent()
          Returns the parent slide of a shape.
 PresentationEx getPresentation()
           
 BaseSlideEx getSlide()
           
 TextFrameEx getTextFrame()
          Returns a TextFrameEx object for a Shape.
 float getWidth()
          Returns the width of the shape.
 float getX()
          Returns the x-coordinate of the upper-left corner of the shape.
 float getY()
          Returns the y-coordinate of the upper-left corner of the shape.
 int getZOrderPosition()
          Returns the position of a shape in the z-order. getShapes().get(0) returns the shape at the back of the z-order, and getShapes().get(getShapes().size() - 1) returns the shape at the front of the z-order.
 boolean isFlipH()
          Determines whether the shape is flipped horizontally.
 boolean isFlipV()
          Determines whether the shape is flipped vertically.
 boolean isHidden()
          Determines whether the shape is hidden.
 boolean isTextHolder()
          Determines whether the shape is TextHolder.
 void setFlipH(boolean value)
          Sets whether the shape is flipped horizontally.
 void setFlipV(boolean value)
          Sets whether the shape is flipped vertically.
 void setHeight(float value)
          Sets the height of the shape.
 void setHidden(boolean value)
          Sets whether the shape is hidden.
 void setHLinkClick(HyperlinkEx value)
          Sets the hyperlink defined for mouse click.
 void setHLinkMouseOver(HyperlinkEx value)
          Sets the hyperlink defined for mouse over.
 void setWidth(float value)
          Sets the width of the shape.
 void setX(float value)
          Sets the x-coordinate of the upper-left corner of the shape.
 void setY(float value)
          Sets the y-coordinate of the upper-left corner of the shape.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isTextHolder

public boolean isTextHolder()
Determines whether the shape is TextHolder.


getLineFormat

public LineFormatEx getLineFormat()
Returns the LineFormatEx object that contains line formatting properties for a shape.

Returns:
See LineFormatEx.

getFillFormat

public FillFormatEx getFillFormat()
Returns the FillFormatEx object that contains fill formatting properties for a shape.

Returns:
See FillFormatEx.

getHLinkClick

public HyperlinkEx getHLinkClick()
Returns the hyperlink defined for mouse click.

Returns:
See HyperlinkEx.

setHLinkClick

public void setHLinkClick(HyperlinkEx value)
Sets the hyperlink defined for mouse click.

Parameters:
value - See HyperlinkEx.

getHLinkMouseOver

public HyperlinkEx getHLinkMouseOver()
Returns the hyperlink defined for mouse over.

Returns:
See HyperlinkEx.

setHLinkMouseOver

public void setHLinkMouseOver(HyperlinkEx value)
Sets the hyperlink defined for mouse over.

Parameters:
value - See HyperlinkEx.

isHidden

public boolean isHidden()
Determines whether the shape is hidden.


setHidden

public void setHidden(boolean value)
Sets whether the shape is hidden.

Parameters:
value - true to hide the shape.

getParent

public BaseSlideEx getParent()
Returns the parent slide of a shape.

Returns:
See BaseSlideEx.

getZOrderPosition

public int getZOrderPosition()
Returns the position of a shape in the z-order. getShapes().get(0) returns the shape at the back of the z-order, and getShapes().get(getShapes().size() - 1) returns the shape at the front of the z-order.


getX

public float getX()
Returns the x-coordinate of the upper-left corner of the shape.


setX

public void setX(float value)
Sets the x-coordinate of the upper-left corner of the shape.

Parameters:
value - new x coordinate.

getY

public float getY()
Returns the y-coordinate of the upper-left corner of the shape.


setY

public void setY(float value)
Sets the y-coordinate of the upper-left corner of the shape.

Parameters:
value - new y coordinate.

getWidth

public float getWidth()
Returns the width of the shape.


setWidth

public void setWidth(float value)
Sets the width of the shape.

Parameters:
value - new width value.

getHeight

public float getHeight()
Returns the height of the shape.


setHeight

public void setHeight(float value)
Sets the height of the shape.

Parameters:
value - new height value.

isFlipH

public boolean isFlipH()
Determines whether the shape is flipped horizontally.


setFlipH

public void setFlipH(boolean value)
Sets whether the shape is flipped horizontally.

Parameters:
value - true to flip the shape horizontally.

isFlipV

public boolean isFlipV()
Determines whether the shape is flipped vertically.


setFlipV

public void setFlipV(boolean value)
Sets whether the shape is flipped vertically.

Parameters:
value - true to flip the shape vertically.

getTextFrame

public TextFrameEx getTextFrame()
Returns a TextFrameEx object for a Shape.

Returns:
See TextFrameEx.

getSlide

public BaseSlideEx getSlide()

getPresentation

public PresentationEx getPresentation()