|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Shape
com.aspose.slides.GroupShape
public class GroupShape
Represents a group of shapes on a slide.
Method Summary | |
---|---|
TextFrame |
addTextFrame(java.lang.String text)
Adds a new TextFrame to a shape. |
java.lang.String |
getAlternativeText()
Returns or sets the alternative text associated with a shape in a Web presentation. |
FillFormat |
getFillFormat()
Returns null for a GroupShape. |
boolean |
getFlipHorizontal()
<b>True</b> if a group was flipped horizontally. |
boolean |
getFlipVertical()
<b>True</b> if a group was flipped vertically. |
boolean |
getHidden()
Determines whether the shape is hidden. |
LineFormat |
getLineFormat()
Returns null for a GroupShape. |
int |
getMasterShapeId()
Returns the unique Id of a master shape or 0 in case shape is not inherited from any master shapes. |
java.lang.String |
getName()
Returns or sets the name of a shape. |
long |
getProtection()
Returns or sets the bit flags which determine how the group shape is protected. |
int |
getRotation()
Returns or sets the number of degrees the specified group is rotated around the z-axis. |
int |
getShapeId()
Returns the unique Id of a shape. |
ShapeCollection |
getShapes()
Returns the collection of shapes inside the group. |
void |
setAlternativeText(java.lang.String value)
|
void |
setFlipHorizontal(boolean value)
|
void |
setFlipVertical(boolean value)
|
void |
setHidden(boolean value)
|
void |
setName(java.lang.String value)
|
void |
setProtection(long value)
|
void |
setRotation(int value)
|
Methods inherited from class com.aspose.slides.Shape |
---|
addLink, clearLink, createShapeElements, createShapeElements, getAnimationSettings, getConnectionSites, getConnectionSitesRaw, getFlipH, getFlipV, getHeight, getLink, getParent, getParentSlide, getPlaceholder, getShadowFormat, getShapeRectangle, getTags, getTextFrame, getThreeDFormat, getWidth, getX, getY, getZOrderPosition, hasExternalData, isMasterTextHolder, isTextHolder, serialize, setFlipH, setFlipV, setHeight, setWidth, setX, setY, zOrder |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public LineFormat getLineFormat()
Returns null for a GroupShape.
Read-only Aspose.Slides.LineFormat
.
getLineFormat
in class Shape
public FillFormat getFillFormat()
Returns null for a GroupShape.
Read-only Aspose.Slides.FillFormat
.
getFillFormat
in class Shape
public ShapeCollection getShapes()
Returns the collection of shapes inside the group. Read-only Shapes
.
public long getProtection()
Returns or sets the bit flags which determine how the group shape is protected.
Read/write ShapeProtection
.
getProtection
in class Shape
public void setProtection(long value)
setProtection
in class Shape
public int getRotation()
Returns or sets the number of degrees the specified group is rotated around
the z-axis. A positive value indicates clockwise rotation; a negative value
indicates counterclockwise rotation. Read/write int
.
getRotation
in class Shape
public void setRotation(int value)
setRotation
in class Shape
public java.lang.String getAlternativeText()
Returns or sets the alternative text associated with a shape in a Web presentation.
Read/write string
.
getAlternativeText
in class Shape
public void setAlternativeText(java.lang.String value)
setAlternativeText
in class Shape
public java.lang.String getName()
Returns or sets the name of a shape. Returns real name value only if name was explicitly set.
Read/write string
.
getName
in class Shape
public void setName(java.lang.String value)
setName
in class Shape
public boolean getHidden()
Determines whether the shape is hidden.
Read/write bool
.
getHidden
in class Shape
public void setHidden(boolean value)
setHidden
in class Shape
public boolean getFlipHorizontal()
<b>True</b>
if a group was flipped horizontally.
Read/write bool
.
getFlipHorizontal
in class Shape
public void setFlipHorizontal(boolean value)
setFlipHorizontal
in class Shape
public boolean getFlipVertical()
<b>True</b>
if a group was flipped vertically.
Read/write bool
.
getFlipVertical
in class Shape
public void setFlipVertical(boolean value)
setFlipVertical
in class Shape
public int getShapeId()
Returns the unique Id of a shape.
Read-only int
.
getShapeId
in class Shape
public int getMasterShapeId()
Returns the unique Id of a master shape or 0 in case shape
is not inherited from any master shapes.
Read-only int
.
getMasterShapeId
in class Shape
public TextFrame addTextFrame(java.lang.String text)
Adds a new TextFrame to a shape. If shape already has TextFrame then do nothing.
addTextFrame
in class Shape
text
- Default text for a new TextFrame.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |