Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RectangleShape

Hierarchy

  • Shape
    • RectangleShape

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

getSize

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

setSize

setTexture

  • setTexture(texture: Texture): void

setTextureRect

Generated using TypeDoc