ShapeType
Inheritance: java.lang.Object
public class ShapeType
Specifies the type of shape in a Microsoft Word document.
Examples:
Shows how to insert a shape with an image from the local file system into a document.
Document doc = new Document();
// The "Shape" class's public constructor will create a shape with "ShapeMarkupLanguage.Vml" markup type.
// If you need to create a shape of a non-primitive type, such as SingleCornerSnipped, TopCornersSnipped, DiagonalCornersSnipped,
// TopCornersOneRoundedOneSnipped, SingleCornerRounded, TopCornersRounded, or DiagonalCornersRounded,
// please use DocumentBuilder.InsertShape.
Shape shape = new Shape(doc, ShapeType.IMAGE);
shape.getImageData().setImage(getImageDir() + "Windows MetaFile.wmf");
shape.setWidth(100.0);
shape.setHeight(100.0);
doc.getFirstSection().getBody().getFirstParagraph().appendChild(shape);
doc.save(getArtifactsDir() + "Image.FromFile.docx");
Shows how Aspose.Words identify shapes.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.insertShape(ShapeType.HEPTAGON, RelativeHorizontalPosition.PAGE, 0.0,
RelativeVerticalPosition.PAGE, 0.0, 0.0, 0.0, WrapType.NONE);
builder.insertShape(ShapeType.CLOUD, RelativeHorizontalPosition.RIGHT_MARGIN, 0.0,
RelativeVerticalPosition.PAGE, 0.0, 0.0, 0.0, WrapType.NONE);
builder.insertShape(ShapeType.MATH_PLUS, RelativeHorizontalPosition.RIGHT_MARGIN, 0.0,
RelativeVerticalPosition.PAGE, 0.0, 0.0, 0.0, WrapType.NONE);
// To correct identify shape types you need to work with shapes as DML.
OoxmlSaveOptions saveOptions = new OoxmlSaveOptions(SaveFormat.DOCX);
{
// "Strict" or "Transitional" compliance allows to save shape as DML.
saveOptions.setCompliance(OoxmlCompliance.ISO_29500_2008_TRANSITIONAL);
}
doc.save(getArtifactsDir() + "Shape.ShapeTypes.docx", saveOptions);
doc = new Document(getArtifactsDir() + "Shape.ShapeTypes.docx");
List shapes = Arrays.stream(doc.getChildNodes(NodeType.SHAPE, true).toArray())
.filter(Shape.class::isInstance)
.map(Shape.class::cast)
.collect(Collectors.toList());
for (Shape shape : shapes)
{
System.out.println(shape.getShapeType());
}
Fields
Methods
Method | Description |
---|---|
fromName(String shapeTypeName) | |
getName(int shapeType) | |
getValues() | |
toString(int shapeType) |
ACCENT_BORDER_CALLOUT_1
public static int ACCENT_BORDER_CALLOUT_1
ACCENT_BORDER_CALLOUT_2
public static int ACCENT_BORDER_CALLOUT_2
ACCENT_BORDER_CALLOUT_3
public static int ACCENT_BORDER_CALLOUT_3
ACCENT_BORDER_CALLOUT_90
public static int ACCENT_BORDER_CALLOUT_90
ACCENT_CALLOUT_1
public static int ACCENT_CALLOUT_1
ACCENT_CALLOUT_2
public static int ACCENT_CALLOUT_2
ACCENT_CALLOUT_3
public static int ACCENT_CALLOUT_3
ACCENT_CALLOUT_90
public static int ACCENT_CALLOUT_90
ACTION_BUTTON_BACK_PREVIOUS
public static int ACTION_BUTTON_BACK_PREVIOUS
ACTION_BUTTON_BEGINNING
public static int ACTION_BUTTON_BEGINNING
ACTION_BUTTON_BLANK
public static int ACTION_BUTTON_BLANK
ACTION_BUTTON_DOCUMENT
public static int ACTION_BUTTON_DOCUMENT
ACTION_BUTTON_END
public static int ACTION_BUTTON_END
ACTION_BUTTON_FORWARD_NEXT
public static int ACTION_BUTTON_FORWARD_NEXT
ACTION_BUTTON_HELP
public static int ACTION_BUTTON_HELP
ACTION_BUTTON_HOME
public static int ACTION_BUTTON_HOME
ACTION_BUTTON_INFORMATION
public static int ACTION_BUTTON_INFORMATION
ACTION_BUTTON_MOVIE
public static int ACTION_BUTTON_MOVIE
ACTION_BUTTON_RETURN
public static int ACTION_BUTTON_RETURN
ACTION_BUTTON_SOUND
public static int ACTION_BUTTON_SOUND
ARC
public static int ARC
ARROW
public static int ARROW
BALLOON
public static int BALLOON
BENT_ARROW
public static int BENT_ARROW
BENT_CONNECTOR_2
public static int BENT_CONNECTOR_2
BENT_CONNECTOR_3
public static int BENT_CONNECTOR_3
BENT_CONNECTOR_4
public static int BENT_CONNECTOR_4
BENT_CONNECTOR_5
public static int BENT_CONNECTOR_5
BENT_UP_ARROW
public static int BENT_UP_ARROW
BEVEL
public static int BEVEL
BLOCK_ARC
public static int BLOCK_ARC
BORDER_CALLOUT_1
public static int BORDER_CALLOUT_1
BORDER_CALLOUT_2
public static int BORDER_CALLOUT_2
BORDER_CALLOUT_3
public static int BORDER_CALLOUT_3
BORDER_CALLOUT_90
public static int BORDER_CALLOUT_90
BRACE_PAIR
public static int BRACE_PAIR
BRACKET_PAIR
public static int BRACKET_PAIR
CALLOUT_1
public static int CALLOUT_1
CALLOUT_2
public static int CALLOUT_2
CALLOUT_3
public static int CALLOUT_3
CALLOUT_90
public static int CALLOUT_90
CAN
public static int CAN
CHART_PLUS
public static int CHART_PLUS
Chart plus.
Remarks:
Applicable only for DML shapes.
CHART_STAR
public static int CHART_STAR
Chart star.
Remarks:
Applicable only for DML shapes.
CHART_X
public static int CHART_X
Chart X.
Remarks:
Applicable only for DML shapes.
CHEVRON
public static int CHEVRON
CHORD
public static int CHORD
Chord.
Remarks:
Applicable only for DML shapes.
CIRCULAR_ARROW
public static int CIRCULAR_ARROW
CLOUD
public static int CLOUD
Cloud.
Remarks:
Applicable only for DML shapes.
CLOUD_CALLOUT
public static int CLOUD_CALLOUT
CORNER
public static int CORNER
Corner.
Remarks:
Applicable only for DML shapes.
CORNER_TABS
public static int CORNER_TABS
Corner tabs.
Remarks:
Applicable only for DML shapes.
CUBE
public static int CUBE
CURVED_CONNECTOR_2
public static int CURVED_CONNECTOR_2
CURVED_CONNECTOR_3
public static int CURVED_CONNECTOR_3
CURVED_CONNECTOR_4
public static int CURVED_CONNECTOR_4
CURVED_CONNECTOR_5
public static int CURVED_CONNECTOR_5
CURVED_DOWN_ARROW
public static int CURVED_DOWN_ARROW
CURVED_LEFT_ARROW
public static int CURVED_LEFT_ARROW
CURVED_RIGHT_ARROW
public static int CURVED_RIGHT_ARROW
CURVED_UP_ARROW
public static int CURVED_UP_ARROW
CUSTOM_SHAPE
public static int CUSTOM_SHAPE
This shape type seems to be set for shapes that are not part of the standard set of the auto shapes in Microsoft Word. For example, if you insert a new auto shape from ClipArt.
You cannot create shapes of this type in the document.
DECAGON
public static int DECAGON
Decagon.
Remarks:
Applicable only for DML shapes.
DIAGONAL_CORNERS_ROUNDED
public static int DIAGONAL_CORNERS_ROUNDED
Round diagonal corner rectangle.
Remarks:
Applicable only for DML shapes.
DIAGONAL_CORNERS_SNIPPED
public static int DIAGONAL_CORNERS_SNIPPED
Snip diagonal corner rectangle.
Remarks:
Applicable only for DML shapes.
DIAGONAL_STRIPE
public static int DIAGONAL_STRIPE
Diagonal stripe.
Remarks:
Applicable only for DML shapes.
DIAMOND
public static int DIAMOND
DODECAGON
public static int DODECAGON
Dodecagon.
Remarks:
Applicable only for DML shapes.
DONUT
public static int DONUT
DOUBLE_WAVE
public static int DOUBLE_WAVE
DOWN_ARROW
public static int DOWN_ARROW
DOWN_ARROW_CALLOUT
public static int DOWN_ARROW_CALLOUT
ELLIPSE
public static int ELLIPSE
ELLIPSE_RIBBON
public static int ELLIPSE_RIBBON
ELLIPSE_RIBBON_2
public static int ELLIPSE_RIBBON_2
FLOW_CHART_ALTERNATE_PROCESS
public static int FLOW_CHART_ALTERNATE_PROCESS
FLOW_CHART_COLLATE
public static int FLOW_CHART_COLLATE
FLOW_CHART_CONNECTOR
public static int FLOW_CHART_CONNECTOR
FLOW_CHART_DECISION
public static int FLOW_CHART_DECISION
FLOW_CHART_DELAY
public static int FLOW_CHART_DELAY
FLOW_CHART_DISPLAY
public static int FLOW_CHART_DISPLAY
FLOW_CHART_DOCUMENT
public static int FLOW_CHART_DOCUMENT
FLOW_CHART_EXTRACT
public static int FLOW_CHART_EXTRACT
FLOW_CHART_INPUT_OUTPUT
public static int FLOW_CHART_INPUT_OUTPUT
FLOW_CHART_INTERNAL_STORAGE
public static int FLOW_CHART_INTERNAL_STORAGE
FLOW_CHART_MAGNETIC_DISK
public static int FLOW_CHART_MAGNETIC_DISK
FLOW_CHART_MAGNETIC_DRUM
public static int FLOW_CHART_MAGNETIC_DRUM
FLOW_CHART_MAGNETIC_TAPE
public static int FLOW_CHART_MAGNETIC_TAPE
FLOW_CHART_MANUAL_INPUT
public static int FLOW_CHART_MANUAL_INPUT
FLOW_CHART_MANUAL_OPERATION
public static int FLOW_CHART_MANUAL_OPERATION
FLOW_CHART_MERGE
public static int FLOW_CHART_MERGE
FLOW_CHART_MULTIDOCUMENT
public static int FLOW_CHART_MULTIDOCUMENT
FLOW_CHART_OFFLINE_STORAGE
public static int FLOW_CHART_OFFLINE_STORAGE
FLOW_CHART_OFFPAGE_CONNECTOR
public static int FLOW_CHART_OFFPAGE_CONNECTOR
FLOW_CHART_ONLINE_STORAGE
public static int FLOW_CHART_ONLINE_STORAGE
FLOW_CHART_OR
public static int FLOW_CHART_OR
FLOW_CHART_PREDEFINED_PROCESS
public static int FLOW_CHART_PREDEFINED_PROCESS
FLOW_CHART_PREPARATION
public static int FLOW_CHART_PREPARATION
FLOW_CHART_PROCESS
public static int FLOW_CHART_PROCESS
FLOW_CHART_PUNCHED_CARD
public static int FLOW_CHART_PUNCHED_CARD
FLOW_CHART_PUNCHED_TAPE
public static int FLOW_CHART_PUNCHED_TAPE
FLOW_CHART_SORT
public static int FLOW_CHART_SORT
FLOW_CHART_SUMMING_JUNCTION
public static int FLOW_CHART_SUMMING_JUNCTION
FLOW_CHART_TERMINATOR
public static int FLOW_CHART_TERMINATOR
FOLDED_CORNER
public static int FOLDED_CORNER
FRAME
public static int FRAME
Frame.
Remarks:
Applicable only for DML shapes.
FUNNEL
public static int FUNNEL
Funnel.
Remarks:
Applicable only for DML shapes.
GEAR_6
public static int GEAR_6
Six-tooth gear.
Remarks:
Applicable only for DML shapes.
GEAR_9
public static int GEAR_9
Nine-tooth gear.
Remarks:
Applicable only for DML shapes.
GROUP
public static int GROUP
The shape is a group shape.
HALF_FRAME
public static int HALF_FRAME
Half frame.
Remarks:
Applicable only for DML shapes.
HEART
public static int HEART
HEPTAGON
public static int HEPTAGON
Heptagon.
Remarks:
Applicable only for DML shapes.
HEXAGON
public static int HEXAGON
HOME_PLATE
public static int HOME_PLATE
HORIZONTAL_SCROLL
public static int HORIZONTAL_SCROLL
IMAGE
public static int IMAGE
The shape is an image.
INVERSE_LINE
public static int INVERSE_LINE
Inverse line.
Remarks:
Applicable only for DML shapes.
IRREGULAR_SEAL_1
public static int IRREGULAR_SEAL_1
IRREGULAR_SEAL_2
public static int IRREGULAR_SEAL_2
LEFT_ARROW
public static int LEFT_ARROW
LEFT_ARROW_CALLOUT
public static int LEFT_ARROW_CALLOUT
LEFT_BRACE
public static int LEFT_BRACE
LEFT_BRACKET
public static int LEFT_BRACKET
LEFT_CIRCULAR_ARROW
public static int LEFT_CIRCULAR_ARROW
Left circular arrow.
Remarks:
Applicable only for DML shapes.
LEFT_RIGHT_ARROW
public static int LEFT_RIGHT_ARROW
LEFT_RIGHT_ARROW_CALLOUT
public static int LEFT_RIGHT_ARROW_CALLOUT
LEFT_RIGHT_CIRCULAR_ARROW
public static int LEFT_RIGHT_CIRCULAR_ARROW
Left-right circular arrow.
Remarks:
Applicable only for DML shapes.
LEFT_RIGHT_RIBBON
public static int LEFT_RIGHT_RIBBON
Left-right ribbon.
Remarks:
Applicable only for DML shapes.
LEFT_RIGHT_UP_ARROW
public static int LEFT_RIGHT_UP_ARROW
LEFT_UP_ARROW
public static int LEFT_UP_ARROW
LIGHTNING_BOLT
public static int LIGHTNING_BOLT
LINE
public static int LINE
MATH_DIVIDE
public static int MATH_DIVIDE
Math divide.
Remarks:
Applicable only for DML shapes.
MATH_EQUAL
public static int MATH_EQUAL
Math equal.
Remarks:
Applicable only for DML shapes.
MATH_MINUS
public static int MATH_MINUS
Math minus.
Remarks:
Applicable only for DML shapes.
MATH_MULTIPLY
public static int MATH_MULTIPLY
Math multiply.
Remarks:
Applicable only for DML shapes.
MATH_NOT_EQUAL
public static int MATH_NOT_EQUAL
Math not equal.
Remarks:
Applicable only for DML shapes.
MATH_PLUS
public static int MATH_PLUS
Math plus.
Remarks:
Applicable only for DML shapes.
MIN_VALUE
public static int MIN_VALUE
Reserved for the system use.
MOON
public static int MOON
NON_ISOSCELES_TRAPEZOID
public static int NON_ISOSCELES_TRAPEZOID
Non-isosceles trapezoid.
Remarks:
Applicable only for DML shapes.
NON_PRIMITIVE
public static int NON_PRIMITIVE
A shape drawn by user and consisting of multiple segments and/or vertices (curve, freeform or scribble).
You cannot create shapes of this type in the document.
NOTCHED_RIGHT_ARROW
public static int NOTCHED_RIGHT_ARROW
NO_SMOKING
public static int NO_SMOKING
OCTAGON
public static int OCTAGON
OLE_CONTROL
public static int OLE_CONTROL
The shape is an ActiveX control.
You cannot create shapes of this type in the document.
OLE_OBJECT
public static int OLE_OBJECT
The shape is an OLE object.
You cannot create shapes of this type in the document.
PARALLELOGRAM
public static int PARALLELOGRAM
PENTAGON
public static int PENTAGON
PIE
public static int PIE
Pie.
Remarks:
Applicable only for DML shapes.
PLAQUE
public static int PLAQUE
PLAQUE_TABS
public static int PLAQUE_TABS
Plaque tabs.
Remarks:
Applicable only for DML shapes.
PLUS
public static int PLUS
QUAD_ARROW
public static int QUAD_ARROW
QUAD_ARROW_CALLOUT
public static int QUAD_ARROW_CALLOUT
RECTANGLE
public static int RECTANGLE
RIBBON
public static int RIBBON
RIBBON_2
public static int RIBBON_2
RIGHT_ARROW_CALLOUT
public static int RIGHT_ARROW_CALLOUT
RIGHT_BRACE
public static int RIGHT_BRACE
RIGHT_BRACKET
public static int RIGHT_BRACKET
RIGHT_TRIANGLE
public static int RIGHT_TRIANGLE
ROUND_RECTANGLE
public static int ROUND_RECTANGLE
SEAL
public static int SEAL
SEAL_10
public static int SEAL_10
Ten-pointed star.
Remarks:
Applicable only for DML shapes.
SEAL_12
public static int SEAL_12
Twelve-pointed star.
Remarks:
Applicable only for DML shapes.
SEAL_16
public static int SEAL_16
SEAL_24
public static int SEAL_24
SEAL_32
public static int SEAL_32
SEAL_4
public static int SEAL_4
SEAL_6
public static int SEAL_6
Six-pointed star.
Remarks:
Applicable only for DML shapes.
SEAL_7
public static int SEAL_7
Seven-pointed star.
Remarks:
Applicable only for DML shapes.
SEAL_8
public static int SEAL_8
SINGLE_CORNER_ROUNDED
public static int SINGLE_CORNER_ROUNDED
Round single corner rectangle.
Remarks:
Applicable only for DML shapes.
SINGLE_CORNER_SNIPPED
public static int SINGLE_CORNER_SNIPPED
Snip single corner rectangle object.
Remarks:
Applicable only for DML shapes.
SMILEY_FACE
public static int SMILEY_FACE
SQUARE_TABS
public static int SQUARE_TABS
Square tabs.
Remarks:
Applicable only for DML shapes.
STAR
public static int STAR
STRAIGHT_CONNECTOR_1
public static int STRAIGHT_CONNECTOR_1
STRIPED_RIGHT_ARROW
public static int STRIPED_RIGHT_ARROW
SUN
public static int SUN
SWOOSH_ARROW
public static int SWOOSH_ARROW
Swoosh arrow.
Remarks:
Applicable only for DML shapes.
TEARDROP
public static int TEARDROP
Teardrop.
Remarks:
Applicable only for DML shapes.
TEXT_ARCH_DOWN_CURVE
public static int TEXT_ARCH_DOWN_CURVE
WordArt object.
TEXT_ARCH_DOWN_POUR
public static int TEXT_ARCH_DOWN_POUR
WordArt object.
TEXT_ARCH_UP_CURVE
public static int TEXT_ARCH_UP_CURVE
WordArt object.
TEXT_ARCH_UP_POUR
public static int TEXT_ARCH_UP_POUR
WordArt object.
TEXT_BOX
public static int TEXT_BOX
The shape is a textbox. Note that shapes of many other types can also have text inside them too. A shape does not have to have this type to contain text.
TEXT_BUTTON_CURVE
public static int TEXT_BUTTON_CURVE
WordArt object.
TEXT_BUTTON_POUR
public static int TEXT_BUTTON_POUR
WordArt object.
TEXT_CAN_DOWN
public static int TEXT_CAN_DOWN
WordArt object.
TEXT_CAN_UP
public static int TEXT_CAN_UP
WordArt object.
TEXT_CASCADE_DOWN
public static int TEXT_CASCADE_DOWN
WordArt object.
TEXT_CASCADE_UP
public static int TEXT_CASCADE_UP
WordArt object.
TEXT_CHEVRON
public static int TEXT_CHEVRON
WordArt object.
TEXT_CHEVRON_INVERTED
public static int TEXT_CHEVRON_INVERTED
WordArt object.
TEXT_CIRCLE_CURVE
public static int TEXT_CIRCLE_CURVE
WordArt object.
TEXT_CIRCLE_POUR
public static int TEXT_CIRCLE_POUR
WordArt object.
TEXT_CURVE
public static int TEXT_CURVE
TEXT_CURVE_DOWN
public static int TEXT_CURVE_DOWN
WordArt object.
TEXT_CURVE_UP
public static int TEXT_CURVE_UP
WordArt object.
TEXT_DEFLATE
public static int TEXT_DEFLATE
WordArt object.
TEXT_DEFLATE_BOTTOM
public static int TEXT_DEFLATE_BOTTOM
WordArt object.
TEXT_DEFLATE_INFLATE
public static int TEXT_DEFLATE_INFLATE
WordArt object.
TEXT_DEFLATE_INFLATE_DEFLATE
public static int TEXT_DEFLATE_INFLATE_DEFLATE
WordArt object.
TEXT_DEFLATE_TOP
public static int TEXT_DEFLATE_TOP
WordArt object.
TEXT_FADE_DOWN
public static int TEXT_FADE_DOWN
WordArt object.
TEXT_FADE_LEFT
public static int TEXT_FADE_LEFT
WordArt object.
TEXT_FADE_RIGHT
public static int TEXT_FADE_RIGHT
WordArt object.
TEXT_FADE_UP
public static int TEXT_FADE_UP
WordArt object.
TEXT_HEXAGON
public static int TEXT_HEXAGON
TEXT_INFLATE
public static int TEXT_INFLATE
WordArt object.
TEXT_INFLATE_BOTTOM
public static int TEXT_INFLATE_BOTTOM
WordArt object.
TEXT_INFLATE_TOP
public static int TEXT_INFLATE_TOP
WordArt object.
TEXT_OCTAGON
public static int TEXT_OCTAGON
TEXT_ON_CURVE
public static int TEXT_ON_CURVE
TEXT_ON_RING
public static int TEXT_ON_RING
TEXT_PLAIN_TEXT
public static int TEXT_PLAIN_TEXT
WordArt object.
TEXT_RING
public static int TEXT_RING
TEXT_RING_INSIDE
public static int TEXT_RING_INSIDE
WordArt object.
TEXT_RING_OUTSIDE
public static int TEXT_RING_OUTSIDE
WordArt object.
TEXT_SIMPLE
public static int TEXT_SIMPLE
TEXT_SLANT_DOWN
public static int TEXT_SLANT_DOWN
WordArt object.
TEXT_SLANT_UP
public static int TEXT_SLANT_UP
WordArt object.
TEXT_STOP
public static int TEXT_STOP
WordArt object.
TEXT_TRIANGLE
public static int TEXT_TRIANGLE
WordArt object.
TEXT_TRIANGLE_INVERTED
public static int TEXT_TRIANGLE_INVERTED
WordArt object.
TEXT_WAVE
public static int TEXT_WAVE
TEXT_WAVE_1
public static int TEXT_WAVE_1
WordArt object.
TEXT_WAVE_2
public static int TEXT_WAVE_2
WordArt object.
TEXT_WAVE_3
public static int TEXT_WAVE_3
WordArt object.
TEXT_WAVE_4
public static int TEXT_WAVE_4
WordArt object.
THICK_ARROW
public static int THICK_ARROW
TOP_CORNERS_ONE_ROUNDED_ONE_SNIPPED
public static int TOP_CORNERS_ONE_ROUNDED_ONE_SNIPPED
Snip and round single corner rectangle.
Remarks:
Applicable only for DML shapes.
TOP_CORNERS_ROUNDED
public static int TOP_CORNERS_ROUNDED
Round same side corner rectangle.
Remarks:
Applicable only for DML shapes.
TOP_CORNERS_SNIPPED
public static int TOP_CORNERS_SNIPPED
Snip same side corner rectangle.
Remarks:
Applicable only for DML shapes.
TRAPEZOID
public static int TRAPEZOID
TRIANGLE
public static int TRIANGLE
UP_ARROW
public static int UP_ARROW
UP_ARROW_CALLOUT
public static int UP_ARROW_CALLOUT
UP_DOWN_ARROW
public static int UP_DOWN_ARROW
UP_DOWN_ARROW_CALLOUT
public static int UP_DOWN_ARROW_CALLOUT
UTURN_ARROW
public static int UTURN_ARROW
VERTICAL_SCROLL
public static int VERTICAL_SCROLL
WAVE
public static int WAVE
WEDGE_ELLIPSE_CALLOUT
public static int WEDGE_ELLIPSE_CALLOUT
WEDGE_PIE
public static int WEDGE_PIE
Wedge pie.
Remarks:
Applicable only for DML shapes.
WEDGE_RECT_CALLOUT
public static int WEDGE_RECT_CALLOUT
WEDGE_R_RECT_CALLOUT
public static int WEDGE_R_RECT_CALLOUT
length
public static int length
fromName(String shapeTypeName)
public static int fromName(String shapeTypeName)
Parameters:
Parameter | Type | Description |
---|---|---|
shapeTypeName | java.lang.String |
Returns: int
getName(int shapeType)
public static String getName(int shapeType)
Parameters:
Parameter | Type | Description |
---|---|---|
shapeType | int |
Returns: java.lang.String
getValues()
public static int[] getValues()
Returns: int[]
toString(int shapeType)
public static String toString(int shapeType)
Parameters:
Parameter | Type | Description |
---|---|---|
shapeType | int |
Returns: java.lang.String