Enum ShapeType

  • ShapeType enumerations define a wide variety of shapes available in Google Slides, categorized as basic shapes, arrows, symbols, callouts, and flowchart symbols, among others.

  • These enumerations are used to programmatically select and manipulate shapes within Google Slides presentations, utilizing the SlidesApp.ShapeType object.

  • Many of the ShapeType enumerations correspond to the ECMA-376 standard for Office Open XML File Formats, ensuring compatibility.

  • Flowchart creation is a primary use case for ShapeType, with numerous enumerations representing specific flowchart symbols like process, decision, and connector shapes.

  • While most shapes are supported, the UNSUPPORTED property signifies shapes that are not yet implemented or recognized within Google Slides.

ShapeType

The shape types. Many of these shapes correspond to predefined shapes from the ECMA-376 standard. More information on those shapes can be found in the description of the "ST_ShapeType" simple type in section 20.1.10.55 of "Office Open XML File Formats - Fundamentals and Markup Language Reference", part 1 of ECMA-376 5th edition.

To call an enum, you call its parent class, name, and property. For example, SlidesApp.ShapeType.TEXT_BOX.

Properties

PropertyTypeDescription
UNSUPPORTEDEnumA shape type that is not supported.
TEXT_BOXEnumText box shape.
RECTANGLEEnumRectangle shape. Corresponds to ECMA-376 ST_ShapeType 'rect'.
ROUND_RECTANGLEEnumRound corner rectangle shape. Corresponds to ECMA-376 ST_ShapeType 'roundRect'.
ELLIPSEEnumEllipse shape. Corresponds to ECMA-376 ST_ShapeType 'ellipse'.
ARCEnumCurved arc shape. Corresponds to ECMA-376 ST_ShapeType 'arc'.
BENT_ARROWEnumBent arrow shape. Corresponds to ECMA-376 ST_ShapeType 'bentArrow'.
BENT_UP_ARROWEnumBent up arrow shape. Corresponds to ECMA-376 ST_ShapeType 'bentUpArrow'.
BEVELEnumBevel shape. Corresponds to ECMA-376 ST_ShapeType 'bevel'.
BLOCK_ARCEnumBlock arc shape. Corresponds to ECMA-376 ST_ShapeType 'blockArc'.
BRACE_PAIREnumBrace pair shape. Corresponds to ECMA-376 ST_ShapeType 'bracePair'.
BRACKET_PAIREnumBracket pair shape. Corresponds to ECMA-376 ST_ShapeType 'bracketPair'.
CANEnumCan shape. Corresponds to ECMA-376 ST_ShapeType 'can'.
CHEVRONEnumChevron shape. Corresponds to ECMA-376 ST_ShapeType 'chevron'.
CHORDEnumChord shape. Corresponds to ECMA-376 ST_ShapeType 'chord'.
CLOUDEnumCloud shape. Corresponds to ECMA-376 ST_ShapeType 'cloud'.
CORNEREnumCorner shape. Corresponds to ECMA-376 ST_ShapeType 'corner'.
CUBEEnumCube shape. Corresponds to ECMA-376 ST_ShapeType 'cube'.
CURVED_DOWN_ARROWEnumCurved down arrow shape. Corresponds to ECMA-376 ST_ShapeType 'curvedDownArrow'.
CURVED_LEFT_ARROWEnumCurved left arrow shape. Corresponds to ECMA-376 ST_ShapeType 'curvedLeftArrow'.
CURVED_RIGHT_ARROWEnumCurved right arrow shape. Corresponds to ECMA-376 ST_ShapeType 'curvedRightArrow'.
CURVED_UP_ARROWEnumCurved up arrow shape. Corresponds to ECMA-376 ST_ShapeType 'curvedUpArrow'.
DECAGONEnumDecagon shape. Corresponds to ECMA-376 ST_ShapeType 'decagon'.
DIAGONAL_STRIPEEnumDiagonal stripe shape. Corresponds to ECMA-376 ST_ShapeType 'diagStripe'.
DIAMONDEnumDiamond shape. Corresponds to ECMA-376 ST_ShapeType 'diamond'.
DODECAGONEnumDodecagon shape. Corresponds to ECMA-376 ST_ShapeType 'dodecagon'.
DONUTEnumDonut shape. Corresponds to ECMA-376 ST_ShapeType 'donut'.
DOUBLE_WAVEEnumDouble wave shape. Corresponds to ECMA-376 ST_ShapeType 'doubleWave'.
DOWN_ARROWEnumDown arrow shape. Corresponds to ECMA-376 ST_ShapeType 'downArrow'.
DOWN_ARROW_CALLOUTEnumCallout down arrow shape. Corresponds to ECMA-376 ST_ShapeType 'downArrowCallout'.
FOLDED_CORNEREnumFolded corner shape. Corresponds to ECMA-376 ST_ShapeType 'foldedCorner'.
FRAMEEnumFrame shape. Corresponds to ECMA-376 ST_ShapeType 'frame'.
HALF_FRAMEEnumHalf frame shape. Corresponds to ECMA-376 ST_ShapeType 'halfFrame'.
HEARTEnumHeart shape. Corresponds to ECMA-376 ST_ShapeType 'heart'.
HEPTAGONEnumHeptagon shape. Corresponds to ECMA-376 ST_ShapeType 'heptagon'.
HEXAGONEnumHexagon shape. Corresponds to ECMA-376 ST_ShapeType 'hexagon'.
HOME_PLATEEnumHome plate shape. Corresponds to ECMA-376 ST_ShapeType 'homePlate'.
HORIZONTAL_SCROLLEnumHorizontal scroll shape. Corresponds to ECMA-376 ST_ShapeType 'horizontalScroll'.
IRREGULAR_SEAL_1EnumIrregular seal 1 shape. Corresponds to ECMA-376 ST_ShapeType 'irregularSeal1'.
IRREGULAR_SEAL_2EnumIrregular seal 2 shape. Corresponds to ECMA-376 ST_ShapeType 'irregularSeal2'.
LEFT_ARROWEnumLeft arrow shape. Corresponds to ECMA-376 ST_ShapeType 'leftArrow'.
LEFT_ARROW_CALLOUTEnumCallout left arrow shape. Corresponds to ECMA-376 ST_ShapeType 'leftArrowCallout'.
LEFT_BRACEEnumLeft brace shape. Corresponds to ECMA-376 ST_ShapeType 'leftBrace'.
LEFT_BRACKETEnumLeft bracket shape. Corresponds to ECMA-376 ST_ShapeType 'leftBracket'.
LEFT_RIGHT_ARROWEnumLeft right arrow shape. Corresponds to ECMA-376 ST_ShapeType 'leftRightArrow'.
LEFT_RIGHT_ARROW_CALLOUTEnumCallout left right arrow shape. Corresponds to ECMA-376 ST_ShapeType 'leftRightArrowCallout'.
LEFT_RIGHT_UP_ARROWEnumLeft right up arrow shape. Corresponds to ECMA-376 ST_ShapeType 'leftRightUpArrow'.
LEFT_UP_ARROWEnumLeft up arrow shape. Corresponds to ECMA-376 ST_ShapeType 'leftUpArrow'.
LIGHTNING_BOLTEnumLightning bolt shape. Corresponds to ECMA-376 ST_ShapeType 'lightningBolt'.
MATH_DIVIDEEnumDivide math shape. Corresponds to ECMA-376 ST_ShapeType 'mathDivide'.
MATH_EQUALEnumEqual math shape. Corresponds to ECMA-376 ST_ShapeType 'mathEqual'.
MATH_MINUSEnumMinus math shape. Corresponds to ECMA-376 ST_ShapeType 'mathMinus'.
MATH_MULTIPLYEnumMultiply math shape. Corresponds to ECMA-376 ST_ShapeType 'mathMultiply'.
MATH_NOT_EQUALEnumNot equal math shape. Corresponds to ECMA-376 ST_ShapeType 'mathNotEqual'.
MATH_PLUSEnumPlus math shape. Corresponds to ECMA-376 ST_ShapeType 'mathPlus'.
MOONEnumMoon shape. Corresponds to ECMA-376 ST_ShapeType 'moon'.
NO_SMOKINGEnumNo smoking shape. Corresponds to ECMA-376 ST_ShapeType 'noSmoking'.
NOTCHED_RIGHT_ARROWEnumNotched right arrow shape. Corresponds to ECMA-376 ST_ShapeType 'notchedRightArrow'.
OCTAGONEnumOctagon shape. Corresponds to ECMA-376 ST_ShapeType 'octagon'.
PARALLELOGRAMEnumParallelogram shape. Corresponds to ECMA-376 ST_ShapeType 'parallelogram'.
PENTAGONEnumPentagon shape. Corresponds to ECMA-376 ST_ShapeType 'pentagon'.
PIEEnumPie shape. Corresponds to ECMA-376 ST_ShapeType 'pie'.
PLAQUEEnumPlaque shape. Corresponds to ECMA-376 ST_ShapeType 'plaque'.
PLUSEnumPlus shape. Corresponds to ECMA-376 ST_ShapeType 'plus'.
QUAD_ARROWEnumQuad-arrow shape. Corresponds to ECMA-376 ST_ShapeType 'quadArrow'.
QUAD_ARROW_CALLOUTEnumCallout quad-arrow shape. Corresponds to ECMA-376 ST_ShapeType 'quadArrowCallout'.
RIBBONEnumRibbon shape. Corresponds to ECMA-376 ST_ShapeType 'ribbon'.
RIBBON_2EnumRibbon 2 shape. Corresponds to ECMA-376 ST_ShapeType 'ribbon2'.
RIGHT_ARROWEnumRight arrow shape. Corresponds to ECMA-376 ST_ShapeType 'rightArrow'.
RIGHT_ARROW_CALLOUTEnumCallout right arrow shape. Corresponds to ECMA-376 ST_ShapeType 'rightArrowCallout'.
RIGHT_BRACEEnumRight brace shape. Corresponds to ECMA-376 ST_ShapeType 'rightBrace'.
RIGHT_BRACKETEnumRight bracket shape. Corresponds to ECMA-376 ST_ShapeType 'rightBracket'.
ROUND_1_RECTANGLEEnumOne round corner rectangle shape. Corresponds to ECMA-376 ST_ShapeType 'round1Rect'.
ROUND_2_DIAGONAL_RECTANGLEEnumTwo diagonal round corner rectangle shape. Corresponds to ECMA-376 ST_ShapeType 'round2DiagRect'.
ROUND_2_SAME_RECTANGLEEnumTwo same-side round corner rectangle shape. Corresponds to ECMA-376 ST_ShapeType 'round2SameRect'.
RIGHT_TRIANGLEEnumRight triangle shape. Corresponds to ECMA-376 ST_ShapeType 'rtTriangle'.
SMILEY_FACEEnumSmiley face shape. Corresponds to ECMA-376 ST_ShapeType 'smileyFace'.
SNIP_1_RECTANGLEEnumOne snip corner rectangle shape. Corresponds to ECMA-376 ST_ShapeType 'snip1Rect'.
SNIP_2_DIAGONAL_RECTANGLEEnumTwo diagonal snip corner rectangle shape. Corresponds to ECMA-376 ST_ShapeType 'snip2DiagRect'.
SNIP_2_SAME_RECTANGLEEnumTwo same-side snip corner rectangle shape. Corresponds to ECMA-376 ST_ShapeType 'snip2SameRect'.
SNIP_ROUND_RECTANGLEEnumOne snip one round corner rectangle shape. Corresponds to ECMA-376 ST_ShapeType 'snipRoundRect'.
STAR_10EnumTen pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star10'.
STAR_12EnumTwelve pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star12'.
STAR_16EnumSixteen pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star16'.
STAR_24EnumTwenty four pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star24'.
STAR_32EnumThirty two pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star32'.
STAR_4EnumFour pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star4'.
STAR_5EnumFive pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star5'.
STAR_6EnumSix pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star6'.
STAR_7EnumSeven pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star7'.
STAR_8EnumEight pointed star shape. Corresponds to ECMA-376 ST_ShapeType 'star8'.
STRIPED_RIGHT_ARROWEnumStriped right arrow shape. Corresponds to ECMA-376 ST_ShapeType 'stripedRightArrow'.
SUNEnumSun shape. Corresponds to ECMA-376 ST_ShapeType 'sun'.
TRAPEZOIDEnumTrapezoid shape. Corresponds to ECMA-376 ST_ShapeType 'trapezoid'.
TRIANGLEEnumTriangle shape. Corresponds to ECMA-376 ST_ShapeType 'triangle'.
UP_ARROWEnumUp arrow shape. Corresponds to ECMA-376 ST_ShapeType 'upArrow'.
UP_ARROW_CALLOUTEnumCallout up arrow shape. Corresponds to ECMA-376 ST_ShapeType 'upArrowCallout'.
UP_DOWN_ARROWEnumUp down arrow shape. Corresponds to ECMA-376 ST_ShapeType 'upDownArrow'.
UTURN_ARROWEnumU-turn arrow shape. Corresponds to ECMA-376 ST_ShapeType 'uturnArrow'.
VERTICAL_SCROLLEnumVertical scroll shape. Corresponds to ECMA-376 ST_ShapeType 'verticalScroll'.
WAVEEnumWave shape. Corresponds to ECMA-376 ST_ShapeType 'wave'.
WEDGE_ELLIPSE_CALLOUTEnumCallout wedge ellipse shape. Corresponds to ECMA-376 ST_ShapeType 'wedgeEllipseCallout'.
WEDGE_RECTANGLE_CALLOUTEnumCallout wedge rectangle shape. Corresponds to ECMA-376 ST_ShapeType 'wedgeRectCallout'.
WEDGE_ROUND_RECTANGLE_CALLOUTEnumCallout wedge round rectangle shape. Corresponds to ECMA-376 ST_ShapeType 'wedgeRoundRectCallout'.
FLOW_CHART_ALTERNATE_PROCESSEnumAlternate process flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartAlternateProcess'.
FLOW_CHART_COLLATEEnumCollate flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartCollate'.
FLOW_CHART_CONNECTOREnumConnector flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartConnector'.
FLOW_CHART_DECISIONEnumDecision flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartDecision'.
FLOW_CHART_DELAYEnumDelay flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartDelay'.
FLOW_CHART_DISPLAYEnumDisplay flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartDisplay'.
FLOW_CHART_DOCUMENTEnumDocument flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartDocument'.
FLOW_CHART_EXTRACTEnumExtract flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartExtract'.
FLOW_CHART_INPUT_OUTPUTEnumInput output flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartInputOutput'.
FLOW_CHART_INTERNAL_STORAGEEnumInternal storage flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartInternalStorage'.
FLOW_CHART_MAGNETIC_DISKEnumMagnetic disk flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartMagneticDisk'.
FLOW_CHART_MAGNETIC_DRUMEnumMagnetic drum flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartMagneticDrum'.
FLOW_CHART_MAGNETIC_TAPEEnumMagnetic tape flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartMagneticTape'.
FLOW_CHART_MANUAL_INPUTEnumManual input flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartManualInput'.
FLOW_CHART_MANUAL_OPERATIONEnumManual operation flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartManualOperation'.
FLOW_CHART_MERGEEnumMerge flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartMerge'.
FLOW_CHART_MULTIDOCUMENTEnumMulti-document flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartMultidocument'.
FLOW_CHART_OFFLINE_STORAGEEnumOffline storage flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartOfflineStorage'.
FLOW_CHART_OFFPAGE_CONNECTOREnumOff-page connector flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartOffpageConnector'.
FLOW_CHART_ONLINE_STORAGEEnumOnline storage flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartOnlineStorage'.
FLOW_CHART_OREnumOr flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartOr'.
FLOW_CHART_PREDEFINED_PROCESSEnumPredefined process flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartPredefinedProcess'.
FLOW_CHART_PREPARATIONEnumPreparation flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartPreparation'.
FLOW_CHART_PROCESSEnumProcess flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartProcess'.
FLOW_CHART_PUNCHED_CARDEnumPunched card flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartPunchedCard'.
FLOW_CHART_PUNCHED_TAPEEnumPunched tape flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartPunchedTape'.
FLOW_CHART_SORTEnumSort flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartSort'.
FLOW_CHART_SUMMING_JUNCTIONEnumSumming junction flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartSummingJunction'.
FLOW_CHART_TERMINATOREnumTerminator flow shape. Corresponds to ECMA-376 ST_ShapeType 'flowChartTerminator'.
ARROW_EASTEnumEast arrow shape.
ARROW_NORTH_EASTEnumNortheast arrow shape.
ARROW_NORTHEnumNorth arrow shape.
SPEECHEnumSpeech shape.
STARBURSTEnumStar burst shape.
TEARDROPEnumTeardrop shape. Corresponds to ECMA-376 ST_ShapeType 'teardrop'.
ELLIPSE_RIBBONEnumEllipse ribbon shape. Corresponds to ECMA-376 ST_ShapeType 'ellipseRibbon'.
ELLIPSE_RIBBON_2EnumEllipse ribbon 2 shape. Corresponds to ECMA-376 ST_ShapeType 'ellipseRibbon2'.
CLOUD_CALLOUTEnumCallout cloud shape. Corresponds to ECMA-376 ST_ShapeType 'cloudCallout'.
CUSTOMEnumCustom shape.