square
square(
center
,apothem
):number
[][]
Return a square rect with center point and apothem
Parameters
• center: number
[]
center point of square
• apothem: number
distance center point to line segment
Returns
number
[][]
square(
center
,apothem
):number
[][]
Return a square rect with center point and apothem
• center: number
[]
center point of square
• apothem: number
distance center point to line segment
number
[][]