Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConvexShape

Hierarchy

  • Shape
    • ConvexShape

Index

Constructors

constructor

Methods

_raw

  • _raw(): any

getFillColor

getGlobalBounds

getLocalBounds

getOrigin

getOutlineColor

  • getOutlineColor(): Color

getOutlineThickness

  • getOutlineThickness(): number

getPoint

getPointCount

  • getPointCount(): number

getPosition

getRotation

  • getRotation(): number

getScale

getTexture

getTextureRect

move

rotate

  • rotate(angle: number): void

scale

setFillColor

  • setFillColor(color: number | Color): void

setOrigin

setOutlineColor

  • setOutlineColor(color: number | Color): void

setOutlineThickness

  • setOutlineThickness(thickness: number): void

setPoint

  • setPoint(idx: number, point: Vector2F): void

setPointCount

  • setPointCount(count: number): void

setPosition

  • setPosition(x: number, y: number): void
  • setPosition(pos: PointType<Vector2F>): void

setRotation

  • setRotation(rotation: number): void

setScale

setTexture

  • setTexture(texture: Texture): void

setTextureRect

Generated using TypeDoc