---
Product: Aspose.Slides
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/java/shapetype
---

# ShapeType

## Overview

`ShapeType` is an enum in Aspose.Slides FOSS for Java.

Represents preset geometry of geometry shapes.

This enum declares 2 methods for ShapeType objects in Java programs.
Available methods include: `fromOoxml`, `toOoxml`.
Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.

## Values

| Value | Description |
|-------|-------------|
| `NOT_DEFINED` | Not defined. |
| `CUSTOM` | Custom shape. |
| `LINE` | Line Shape. |
| `LINE_INVERSE` | Line Inverse Shape. |
| `TRIANGLE` | Triangle Shape. |
| `RIGHT_TRIANGLE` | Right Triangle Shape. |
| `RECTANGLE` | Rectangle Shape. |
| `DIAMOND` | Diamond Shape. |
| `PARALLELOGRAM` | Parallelogram Shape. |
| `TRAPEZOID` | Trapezoid Shape. |
| `NON_ISOSCELES_TRAPEZOID` | Non-Isosceles Trapezoid Shape. |
| `PENTAGON` | Pentagon Shape. |
| `HEXAGON` | Hexagon Shape. |
| `HEPTAGON` | Heptagon Shape. |
| `OCTAGON` | Octagon Shape. |
| `DECAGON` | Decagon Shape. |
| `DODECAGON` | Dodecagon Shape. |
| `FOUR_POINTED_STAR` | Four Pointed Star Shape. |
| `FIVE_POINTED_STAR` | Five Pointed Star Shape. |
| `SIX_POINTED_STAR` | Six Pointed Star Shape. |
| `SEVEN_POINTED_STAR` | Seven Pointed Star Shape. |
| `EIGHT_POINTED_STAR` | Eight Pointed Star Shape. |
| `TEN_POINTED_STAR` | Ten Pointed Star Shape. |
| `TWELVE_POINTED_STAR` | Twelve Pointed Star Shape. |
| `SIXTEEN_POINTED_STAR` | Sixteen Pointed Star Shape. |
| `TWENTY_FOUR_POINTED_STAR` | Twenty Four Pointed Star Shape. |
| `THIRTY_TWO_POINTED_STAR` | Thirty Two Pointed Star Shape. |
| `ROUND_CORNER_RECTANGLE` | Round Corner Rectangle Shape. |
| `ONE_ROUND_CORNER_RECTANGLE` | One Round Corner Rectangle Shape. |
| `TWO_SAMESIDE_ROUND_CORNER_RECTANGLE` | Two Same-side Round Corner Rectangle Shape. |
| `TWO_DIAGONAL_ROUND_CORNER_RECTANGLE` | Two Diagonal Round Corner Rectangle Shape. |
| `ONE_SNIP_ONE_ROUND_CORNER_RECTANGLE` | One Snip One Round Corner Rectangle Shape. |
| `ONE_SNIP_CORNER_RECTANGLE` | One Snip Corner Rectangle Shape. |
| `TWO_SAMESIDE_SNIP_CORNER_RECTANGLE` | Two Same-side Snip Corner Rectangle Shape. |
| `TWO_DIAGONAL_SNIP_CORNER_RECTANGLE` | Two Diagonal Snip Corner Rectangle Shape. |
| `PLAQUE` | Plaque Shape. |
| `ELLIPSE` | Ellipse Shape. |
| `TEARDROP` | Teardrop Shape. |
| `HOME_PLATE` | Home Plate Shape. |
| `CHEVRON` | Chevron Shape. |
| `PIE_WEDGE` | Pie Wedge Shape. |
| `PIE` | Pie Shape. |
| `BLOCK_ARC` | Block Arc Shape. |
| `DONUT` | Donut Shape. |
| `NO_SMOKING` | No Smoking Shape. |
| `RIGHT_ARROW` | Right Arrow Shape. |
| `LEFT_ARROW` | Left Arrow Shape. |
| `UP_ARROW` | Up Arrow Shape. |
| `DOWN_ARROW` | Down Arrow Shape. |
| `STRIPED_RIGHT_ARROW` | Striped Right Arrow Shape. |
| `NOTCHED_RIGHT_ARROW` | Notched Right Arrow Shape. |
| `BENT_UP_ARROW` | Bent Up Arrow Shape. |
| `LEFT_RIGHT_ARROW` | Left Right Arrow Shape. |
| `UP_DOWN_ARROW` | Up Down Arrow Shape. |
| `LEFT_UP_ARROW` | Left Up Arrow Shape. |
| `LEFT_RIGHT_UP_ARROW` | Left Right Up Arrow Shape. |
| `QUAD_ARROW` | Quad-Arrow Shape. |
| `CALLOUT_LEFT_ARROW` | Callout Left Arrow Shape. |
| `CALLOUT_RIGHT_ARROW` | Callout Right Arrow Shape. |
| `CALLOUT_UP_ARROW` | Callout Up Arrow Shape. |
| `CALLOUT_DOWN_ARROW` | Callout Down Arrow Shape. |
| `CALLOUT_LEFT_RIGHT_ARROW` | Callout Left Right Arrow Shape. |
| `CALLOUT_UP_DOWN_ARROW` | Callout Up Down Arrow Shape. |
| `CALLOUT_QUAD_ARROW` | Callout Quad-Arrow Shape. |
| `BENT_ARROW` | Bent Arrow Shape. |
| `U_TURN_ARROW` | U-Turn Arrow Shape. |
| `CIRCULAR_ARROW` | Circular Arrow Shape. |
| `LEFT_CIRCULAR_ARROW` | Left Circular Arrow Shape. |
| `LEFT_RIGHT_CIRCULAR_ARROW` | Left Right Circular Arrow Shape. |
| `CURVED_RIGHT_ARROW` | Curved Right Arrow Shape. |
| `CURVED_LEFT_ARROW` | Curved Left Arrow Shape. |
| `CURVED_UP_ARROW` | Curved Up Arrow Shape. |
| `CURVED_DOWN_ARROW` | Curved Down Arrow Shape. |
| `SWOOSH_ARROW` | Swoosh Arrow Shape. |
| `CUBE` | Cube Shape. |
| `CAN` | Can Shape. |
| `LIGHTNING_BOLT` | Lightning Bolt Shape. |
| `HEART` | Heart Shape. |
| `SUN` | Sun Shape. |
| `MOON` | Moon Shape. |
| `SMILEY_FACE` | Smiley Face Shape. |
| `IRREGULAR_SEAL1` | Irregular Seal 1 Shape. |
| `IRREGULAR_SEAL2` | Irregular Seal 2 Shape. |
| `FOLDED_CORNER` | Folded Corner Shape. |
| `BEVEL` | Bevel Shape. |
| `FRAME` | Frame Shape. |
| `HALF_FRAME` | Half Frame Shape. |
| `CORNER` | Corner Shape. |
| `DIAGONAL_STRIPE` | Diagonal Stripe Shape. |
| `CHORD` | Chord Shape. |
| `CURVED_ARC` | Curved Arc Shape. |
| `LEFT_BRACKET` | Left Bracket Shape. |
| `RIGHT_BRACKET` | Right Bracket Shape. |
| `LEFT_BRACE` | Left Brace Shape. |
| `RIGHT_BRACE` | Right Brace Shape. |
| `BRACKET_PAIR` | Bracket Pair Shape. |
| `BRACE_PAIR` | Brace Pair Shape. |
| `STRAIGHT_CONNECTOR1` | Straight Connector 1 Shape. |
| `BENT_CONNECTOR2` | Bent Connector 2 Shape. |
| `BENT_CONNECTOR3` | Bent Connector 3 Shape. |
| `BENT_CONNECTOR4` | Bent Connector 4 Shape. |
| `BENT_CONNECTOR5` | Bent Connector 5 Shape. |
| `CURVED_CONNECTOR2` | Curved Connector 2 Shape. |
| `CURVED_CONNECTOR3` | Curved Connector 3 Shape. |
| `CURVED_CONNECTOR4` | Curved Connector 4 Shape. |
| `CURVED_CONNECTOR5` | Curved Connector 5 Shape. |
| `CALLOUT1` | Callout 1 Shape. |
| `CALLOUT2` | Callout 2 Shape. |
| `CALLOUT3` | Callout 3 Shape. |
| `CALLOUT_1_WITH_ACCENT` | Callout 1 with Accent Shape. |
| `CALLOUT_2_WITH_ACCENT` | Callout 2 with Accent Shape. |
| `CALLOUT_3_WITH_ACCENT` | Callout 3 with Accent Shape. |
| `CALLOUT_1_WITH_BORDER` | Callout 1 with Border Shape. |
| `CALLOUT_2_WITH_BORDER` | Callout 2 with Border Shape. |
| `CALLOUT_3_WITH_BORDER` | Callout 3 with Border Shape. |
| `CALLOUT_1_WITH_BORDER_AND_ACCENT` | Callout 1 with Border and Accent Shape. |
| `CALLOUT_2_WITH_BORDER_AND_ACCENT` | Callout 2 with Border and Accent Shape. |
| `CALLOUT_3_WITH_BORDER_AND_ACCENT` | Callout 3 with Border and Accent Shape. |
| `CALLOUT_WEDGE_RECTANGLE` | Callout Wedge Rectangle Shape. |
| `CALLOUT_WEDGE_ROUND_RECTANGLE` | Callout Wedge Round Rectangle Shape. |
| `CALLOUT_WEDGE_ELLIPSE` | Callout Wedge Ellipse Shape. |
| `CALLOUT_CLOUD` | Callout Cloud Shape. |
| `CLOUD` | Cloud Shape. |
| `RIBBON` | Ribbon Shape. |
| `RIBBON2` | Ribbon 2 Shape. |
| `ELLIPSE_RIBBON` | Ellipse Ribbon Shape. |
| `ELLIPSE_RIBBON2` | Ellipse Ribbon 2 Shape. |
| `LEFT_RIGHT_RIBBON` | Left Right Ribbon Shape. |
| `VERTICAL_SCROLL` | Vertical Scroll Shape. |
| `HORIZONTAL_SCROLL` | Horizontal Scroll Shape. |
| `WAVE` | Wave Shape. |
| `DOUBLE_WAVE` | Double Wave Shape. |
| `PLUS` | Plus Shape. |
| `PROCESS_FLOW` | Process Flow Shape. |
| `DECISION_FLOW` | Decision Flow Shape. |
| `INPUT_OUTPUT_FLOW` | Input Output Flow Shape. |
| `PREDEFINED_PROCESS_FLOW` | Predefined Process Flow Shape. |
| `INTERNAL_STORAGE_FLOW` | Internal Storage Flow Shape. |
| `DOCUMENT_FLOW` | Document Flow Shape. |
| `MULTI_DOCUMENT_FLOW` | Multi-Document Flow Shape. |
| `TERMINATOR_FLOW` | Terminator Flow Shape. |
| `PREPARATION_FLOW` | Preparation Flow Shape. |
| `MANUAL_INPUT_FLOW` | Manual Input Flow Shape. |
| `MANUAL_OPERATION_FLOW` | Manual Operation Flow Shape. |
| `CONNECTOR_FLOW` | Connector Flow Shape. |
| `PUNCHED_CARD_FLOW` | Punched Card Flow Shape. |
| `PUNCHED_TAPE_FLOW` | Punched Tape Flow Shape. |
| `SUMMING_JUNCTION_FLOW` | Summing Junction Flow Shape. |
| `OR_FLOW` | Or Flow Shape. |
| `COLLATE_FLOW` | Collate Flow Shape. |
| `SORT_FLOW` | Sort Flow Shape. |
| `EXTRACT_FLOW` | Extract Flow Shape. |
| `MERGE_FLOW` | Merge Flow Shape. |
| `OFFLINE_STORAGE_FLOW` | Offline Storage Flow Shape. |
| `ONLINE_STORAGE_FLOW` | Online Storage Flow Shape. |
| `MAGNETIC_TAPE_FLOW` | Magnetic Tape Flow Shape. |
| `MAGNETIC_DISK_FLOW` | Magnetic Disk Flow Shape. |
| `MAGNETIC_DRUM_FLOW` | Magnetic Drum Flow Shape. |
| `DISPLAY_FLOW` | Display Flow Shape. |
| `DELAY_FLOW` | Delay Flow Shape. |
| `ALTERNATE_PROCESS_FLOW` | Alternate Process Flow Shape. |
| `OFF_PAGE_CONNECTOR_FLOW` | Off-Page Connector Flow Shape. |
| `BLANK_BUTTON` | Blank Button Shape. |
| `HOME_BUTTON` | Home Button Shape. |
| `HELP_BUTTON` | Help Button Shape. |
| `INFORMATION_BUTTON` | Information Button Shape. |
| `FORWARD_OR_NEXT_BUTTON` | Forward or Next Button Shape. |
| `BACK_OR_PREVIOUS_BUTTON` | Back or Previous Button Shape. |
| `END_BUTTON` | End Button Shape. |
| `BEGINNING_BUTTON` | Beginning Button Shape. |
| `RETURN_BUTTON` | Return Button Shape. |
| `DOCUMENT_BUTTON` | Document Button Shape. |
| `SOUND_BUTTON` | Sound Button Shape. |
| `MOVIE_BUTTON` | Movie Button Shape. |
| `GEAR6` | Gear 6 Shape. |
| `GEAR9` | Gear 9 Shape. |
| `FUNNEL` | Funnel Shape. |
| `PLUS_MATH` | Plus Math Shape. |
| `MINUS_MATH` | Minus Math Shape. |
| `MULTIPLY_MATH` | Multiply Math Shape. |
| `DIVIDE_MATH` | Divide Math Shape. |
| `EQUAL_MATH` | Equal Math Shape. |
| `NOT_EQUAL_MATH` | Not Equal Math Shape. |
| `CORNER_TABS` | Corner Tabs Shape. |
| `SQUARE_TABS` | Square Tabs Shape. |
| `PLAQUE_TABS` | Plaque Tabs Shape. |
| `CHART_X` | Chart X Shape. |
| `CHART_STAR` | Chart Star Shape. |
| `CHART_PLUS` | Chart Plus Shape. |
| `ROUND_RECTANGLE` | Rounded rectangle (legacy alias). |

## Methods

| Signature | Description |
|-----------|-------------|
| `fromOoxml(prst: String)` → `Optional<ShapeType>` | Resolves an OOXML preset geometry name to a {@link ShapeType}. |
| `toOoxml()` → `Optional<String>` | Returns the OOXML preset geometry name for this shape type. |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)