DrawableRectangle

BGE. DrawableRectangle

new DrawableRectangle(owner, canvasBitmap, width, height, argsopt) → {void}

Parameters:
Name Type Attributes Default Description
owner GameEntity
canvasBitmap object
width float
height float
args object <optional>
{}
Properties:
Name Type Description
tempCanvas object
lastWidth float
lastHeight float
Source:

Extends

  • DrawableWithOutline

Methods

draw(additionalRotationopt) → {void}

Parameters:
Name Type Attributes Default Description
additionalRotation float <optional>
0
Source: