GeometryShape

Overview

GeometryShape is a class in Aspose.Slides FOSS for Java. Inherits from: IGeometryShape.

Base class for shapes with geometry, backed by an OOXML shape element.

This class declares 48 methods for GeometryShape objects in Java programs. Available methods include: GeometryShape, asIPresentationComponent, getAdjustments, getAlternativeText, getAlternativeTextTitle, getAsISlideComponent, getCNvPr, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, and 35 additional methods. Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package. Properties: adjustments, alternativeText, alternativeTextTitle, asISlideComponent, cNvPr, connectionSiteCount, and 25 more.

Properties

NameTypeAccessDescription
xdoubleRead/WriteGets or sets the x.
ydoubleRead/WriteGets or sets the y.
widthdoubleRead/WriteGets or sets the width.
heightdoubleRead/WriteGets or sets the height.
rotationdoubleRead/WriteGets or sets the rotation.
shapeStyleIShapeStyleReadGets the shape style.
shapeTypeShapeTypeRead/WriteGets or sets the shape type.
fillFormatIFillFormatReadGets the fill format.
adjustmentsIAdjustValueCollectionReadGets the adjustments.
cNvPrElementReadGets the c nv pr.
textHolderbooleanReadGets the text holder.
placeholderIPlaceholderReadGets the placeholder.
customDataICustomDataReadGets the custom data.
rawFrameIShapeFrameRead/WriteGets or sets the raw frame.
frameIShapeFrameRead/WriteGets or sets the frame.
lineFormatILineFormatReadGets the line format.
threeDFormatIThreeDFormatReadGets the three d format.
effectFormatIEffectFormatReadGets the effect format.
hiddenbooleanRead/WriteGets or sets the hidden.
zOrderPositionintReadGets the z order position.
connectionSiteCountintReadGets the connection site count.
alternativeTextStringRead/WriteGets or sets the alternative text.
alternativeTextTitleStringRead/WriteGets or sets the alternative text title.
nameStringRead/WriteGets or sets the name.
decorativebooleanRead/WriteGets or sets the decorative.
uniqueIdintReadGets the unique id.
officeInteropShapeIdintReadGets the office interop shape id.
groupedbooleanReadGets the grouped.
asISlideComponentISlideComponentReadGets the as i slide component.
slideIBaseSlideReadGets the slide.
presentationIPresentationReadGets the presentation.

Methods

SignatureDescription
GeometryShape(xmlElement: Element, saveCallback: Runnable)Creates a GeometryShape backed by the given XML element.
GeometryShape()Creates a GeometryShape with no backing element.
setParentShapes(shapes: Iterable<IShape>)Sets the sibling shapes collection used for connection lookups.
getX() → doubleReturns the x.
setX(x: double)Sets the x value.
getY() → doubleReturns the y.
setY(y: double)Sets the y value.
getWidth() → doubleReturns the width.
setWidth(width: double)Sets the width value.
getHeight() → doubleReturns the height.
setHeight(height: double)Sets the height value.
getRotation() → doubleReturns the rotation.
setRotation(rotation: double)Sets the rotation value.
getShapeStyle() → IShapeStyleReturns the shape style.
getShapeType() → ShapeTypeReturns the shape type.
setShapeType(value: ShapeType)Sets the shape type value.
getFillFormat() → IFillFormatReturns the fill format.
getAdjustments() → IAdjustValueCollectionReturns the adjustments.
getCNvPr() → ElementReturns the c nv pr.
isTextHolder() → booleanReturns true if text holder is set.
getPlaceholder() → IPlaceholderReturns the placeholder.
getCustomData() → ICustomDataReturns the custom data.
getRawFrame() → IShapeFrameReturns the raw frame.
setRawFrame(value: IShapeFrame)Sets the raw frame value.
getFrame() → IShapeFrameReturns the frame.
setFrame(value: IShapeFrame)Sets the frame value.
getLineFormat() → ILineFormatReturns the line format.
getThreeDFormat() → IThreeDFormatReturns the three d format.
getEffectFormat() → IEffectFormatReturns the effect format.
isHidden() → booleanReturns true if hidden is set.
setHidden(value: boolean)Sets the hidden value.
getZOrderPosition() → intReturns the z order position.
getConnectionSiteCount() → intReturns the connection site count.
getAlternativeText() → StringReturns the alternative text.
setAlternativeText(value: String)Sets the alternative text value.
getAlternativeTextTitle() → StringReturns the alternative text title.
setAlternativeTextTitle(value: String)Sets the alternative text title value.
getName() → StringReturns the name.
setName(value: String)Sets the name value.
isDecorative() → booleanReturns true if decorative is set.
setDecorative(value: boolean)Sets the decorative value.
getUniqueId() → intReturns the unique id.
getOfficeInteropShapeId() → intReturns the office interop shape id.
isGrouped() → booleanReturns true if grouped is set.
getAsISlideComponent() → ISlideComponentReturns the as i slide component.
getSlide() → IBaseSlideReturns the slide.
getPresentation() → IPresentationReturns the presentation.
asIPresentationComponent() → IPresentationComponentCalls asIPresentationComponent on this GeometryShape instance.

See Also

 English