Fix dox when using special characters

This commit is contained in:
tong 2021-10-14 17:35:23 +02:00
parent ea9b01e733
commit 622b8a275f
2 changed files with 2 additions and 2 deletions

View File

@ -207,7 +207,7 @@ class PhysicsWorld extends Trait {
/**
Used to get intersecting rigid bodies with the passed in RigidBody as reference. Often used when checking for object collisions.
@param body The passed in RigidBody to be checked for intersecting rigid bodies.
@return Array<RigidBody> or null.
@return `Array<RigidBody>`
**/
public function getContacts(body: RigidBody): Array<RigidBody> {
if (contacts.length == 0) return null;

View File

@ -277,7 +277,7 @@ class Canvas {
Returns the positional scaled offset of the given element based on its anchor setting.
@param canvas The canvas object
@param element The element
@return Array<Float> [xOffset, yOffset]
@return `Array<Float> [xOffset, yOffset]`
**/
public static function getAnchorOffset(canvas: TCanvas, element: TElement): Array<Float> {
var boxWidth, boxHeight: Float;