One Logo Pool Ball
PaperKit · IOS API REFERENCE

ShapeMarkup.Shape.RegularPolygon

struct · iOS 27.0+ · SDK 27.1

struct RegularPolygon

Members (4)

get · iOS 27.0+

path

TypeScript
get path(): _CoreGraphics_CGPath
Swift declaration
var path: CGPath { get }

The path of the shape.

init · iOS 27.0+

init

TypeScript
static init(sides: number): ShapeMarkup_Shape_RegularPolygon
Swift declaration
init(sides: Int)

Create a new regular polygon with equal sides and angles. - Parameter sides: The number of sides.

get · iOS 27.0+

sides

TypeScript
get sides(): number
Swift declaration
var sides: Int

The number of sides.

set · iOS 27.0+

sides

TypeScript
set sides(value: number)
Swift declaration
var sides: Int

The number of sides.

Skipped declarations

No declarations were skipped in this snapshot.

All PaperKit types →