Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Star

Hierarchy

  • Star

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Star(numberOfPoints: number, outerRadius: number, innerRadius?: number, skipPoints?: number, data?: IProperties): Star
  • Parameters

    • numberOfPoints: number
    • outerRadius: number
    • Optional innerRadius: number
    • Default value skipPoints: number = 2
    • Optional data: IProperties

    Returns Star

Properties

data

paths

paths: IPathMap

Methods

Static InnerRadiusRatio

  • InnerRadiusRatio(numberOfPoints: number, skipPoints: number): number
  • Parameters

    • numberOfPoints: number
    • skipPoints: number

    Returns number

Generated using TypeDoc