[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'ExtCtrls' (#lcl)

# TShapeType

TShapeType is an enumerated type with values representing standard geometric shapes.

## Declaration

Source position: extctrls.pp line 266

`type TShapeType = (`
`stRectangle,` |  | Draws a rectangle shape in the client area for a TShape control.
`stSquare,` |  | Draws a square shape in the client area for a TShape control.
`stRoundRect,` |  | Draws a rectangle shape with radiused corners in the client area for a TShape control.
`stRoundSquare,` |  | Draws a square shape with radiused corners in the client area for a TShape control.
`stEllipse,` |  | Draws a ellipse shape that fits in the client area for a TShape control.
`stCircle,` |  | Draws a circle shape that fits in the client area for a TShape control.
`stSquaredDiamond,` |  | Draws a four point polygon in the client area for a TShape control. Same as stDiamond.
`stDiamond,` |  | Draws a four point polygon in the client area for a TShape control. Same as stSquaredDiamond.
`stTriangle,` |  | Draws an upward pointing triangle in the client area for a TShape control.
`stTriangleLeft,` |  | Draws a triangle pointing to the left in the client area for a TShape control.
`stTriangleRight,` |  | Draws a triangle pointing to the right in the client area for a TShape control.
`stTriangleDown,` |  | Draws a downward-pointing triangle in the client area for a TShape control.
`stStar,` |  | Draws a five-point star shape in the client area for a TShape control.
`stStarDown,` |  | Draws a five-point star shape (center angle points down) in the client area for a TShape control.
`stPolygon` |  | Draws a shape with user-specified vertices in the client area for a TShape control.
`);`

## Description

TShapeType is an enumerated type with values that represent standard geometric shapes. TShapeType is the type used to implement the Shape property in TShape.

## See also

TCustomShape.Shape |  | Indicates the geometric shape drawn on the shaped control.