Table of contents

Public class

Signature
class Stadium2d extends Ellipse2d {}
References

Ellipse2d

Source

packages/editor/src/lib/primitives/geometry/Stadium2d.ts


Constructor

Public constructor

Constructs a new instance of the Stadium2d class

Parameters
NameDescription

config

Omit<Geometry2dOptions, 'isClosed'> & {
  height: number
  width: number
}

Properties

config

Public property

Signature
config: Omit<Geometry2dOptions, 'isClosed'> & {
  height: number
  width: number
}

Methods

getVertices()

Public method

Signature
getVertices(): Vec[]
References

Vec


SnapManagerStateNode