Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RoundedRectangle

Hierarchy

  • RoundedRectangle

Index

Constructors

Properties

Methods

Constructors

constructor

  • new RoundedRectangle(x?: number, y?: number, width?: number, height?: number, radius?: number): RoundedRectangle
  • Parameters

    • Optional x: number
    • Optional y: number
    • Optional width: number
    • Optional height: number
    • Optional radius: number

    Returns RoundedRectangle

Properties

height

height: number

radius

radius: number

type

type: number

width

width: number

x

x: number

y

y: number

Methods

clone

  • Returns RoundedRectangle

contains

  • contains(x: number, y: number): boolean
  • Parameters

    • x: number
    • y: number

    Returns boolean

Generated using TypeDoc