path
TypeScriptget path(): _CoreGraphics_CGPathSwift declarationvar path: CGPath { get }The path of the shape.
struct · iOS 27.0+ · SDK 27.1
struct RegularPolygonget path(): _CoreGraphics_CGPathSwift declarationvar path: CGPath { get }The path of the shape.
static init(sides: number): ShapeMarkup_Shape_RegularPolygonSwift declarationinit(sides: Int)Create a new regular polygon with equal sides and angles. - Parameter sides: The number of sides.
get sides(): numberSwift declarationvar sides: IntThe number of sides.
set sides(value: number)Swift declarationvar sides: IntThe number of sides.
No declarations were skipped in this snapshot.